mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
wined3d-1DTextures: 0004 and 0016 fix compile error
This commit is contained in:
parent
0bacf48a3d
commit
1b1aa41aa5
@ -125,7 +125,7 @@ index 2a172ee..f81d7cf 100644
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (desc->usage & WINED3DUSAGE_AUTOGENMIPMAP)
|
||||
+ if (desc->usage & WINED3DUSAGE_QUERY_GENMIPMAP)
|
||||
+ {
|
||||
+ if (!gl_info->supported[SGIS_GENERATE_MIPMAP])
|
||||
+ {
|
||||
|
@ -30,7 +30,7 @@ index f65c994..43a940f 100644
|
||||
+ D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER | D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER | D3D11_FORMAT_SUPPORT_SO_BUFFER
|
||||
+ },
|
||||
+ {WINED3D_RTYPE_TEXTURE_2D, WINED3DUSAGE_TEXTURE | WINED3DUSAGE_LEGACY_CUBEMAP, D3D11_FORMAT_SUPPORT_TEXTURECUBE},
|
||||
+ {WINED3D_RTYPE_TEXTURE_2D, WINED3DUSAGE_TEXTURE | WINED3DUSAGE_AUTOGENMIPMAP, D3D11_FORMAT_SUPPORT_MIP_AUTOGEN},
|
||||
+ {WINED3D_RTYPE_TEXTURE_2D, WINED3DUSAGE_TEXTURE | WINED3DUSAGE_QUERY_GENMIPMAP, D3D11_FORMAT_SUPPORT_MIP_AUTOGEN},
|
||||
+ {WINED3D_RTYPE_TEXTURE_2D, WINED3DUSAGE_TEXTURE | WINED3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING, D3D11_FORMAT_SUPPORT_BLENDABLE},
|
||||
};
|
||||
HRESULT hr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user