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:
Henri Verbeet 2009-06-12 09:46:04 +02:00 committed by Alexandre Julliard
parent 4bc6b376e0
commit 669891c817

View File

@ -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();