Commit 669891c8 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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.
parent 4bc6b376
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment