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");
|
ERR("Mipmap surface has a glTexture bound to it!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
glBindTexture(This->glDescription.target, This->glDescription.textureName);
|
glBindTexture(This->glDescription.target, *name);
|
||||||
checkGLcall("glBindTexture");
|
checkGLcall("glBindTexture");
|
||||||
|
|
||||||
LEAVE_GL();
|
LEAVE_GL();
|
||||||
|
|
Loading…
Reference in New Issue