mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 16:57:26 +00:00
wined3d: Don't hardcode WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL cap flag.
This commit is contained in:
parent
4f57581310
commit
13ceb3fddc
@ -4882,8 +4882,9 @@ HRESULT CDECL wined3d_get_device_caps(const struct wined3d *wined3d, UINT adapte
|
||||
|
||||
if (!gl_info->supported[ARB_TEXTURE_NON_POWER_OF_TWO])
|
||||
{
|
||||
caps->TextureCaps |= WINED3DPTEXTURECAPS_POW2 |
|
||||
WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL;
|
||||
caps->TextureCaps |= WINED3DPTEXTURECAPS_POW2;
|
||||
if (gl_info->supported[WINED3D_GL_NORMALIZED_TEXRECT] || gl_info->supported[ARB_TEXTURE_RECTANGLE])
|
||||
caps->TextureCaps |= WINED3DPTEXTURECAPS_NONPOW2CONDITIONAL;
|
||||
}
|
||||
|
||||
if (gl_info->supported[EXT_TEXTURE3D])
|
||||
|
Loading…
Reference in New Issue
Block a user