mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
wined3d: Respect the "srgb" parameter to IWineD3DSurfaceImpl_BindTexture().
This is mostly for consistency, standalone surfaces can't be used for texturing, so in practice "srgb" should always be FALSE in this path.
This commit is contained in:
parent
4bc6b376e0
commit
669891c817
@ -2479,7 +2479,7 @@ static void WINAPI IWineD3DSurfaceImpl_BindTexture(IWineD3DSurface *iface, BOOL
|
||||
ERR("Mipmap surface has a glTexture bound to it!\n");
|
||||
}
|
||||
|
||||
glBindTexture(This->glDescription.target, This->glDescription.textureName);
|
||||
glBindTexture(This->glDescription.target, *name);
|
||||
checkGLcall("glBindTexture");
|
||||
|
||||
LEAVE_GL();
|
||||
|
Loading…
Reference in New Issue
Block a user