wined3d: Do not enable the texture dimensions in BindTexture.

This commit is contained in:
Stefan Dösinger 2006-12-19 22:53:26 +01:00 committed by Alexandre Julliard
parent 569a2fa7c0
commit 251f1eea7a
1 changed files with 0 additions and 5 deletions

View File

@ -236,11 +236,6 @@ HRESULT WINAPI IWineD3DBaseTextureImpl_BindTexture(IWineD3DBaseTexture *iface) {
textureDimensions = IWineD3DBaseTexture_GetTextureDimensions(iface);
ENTER_GL();
#if 0 /* TODO: context manager support */
IWineD3DContextManager_PushState(This->contextManager, textureDimensions, ENABLED, NOW /* make sure the state is applied now */);
#else
glEnable(textureDimensions);
#endif
/* Generate a texture name if we don't already have one */
if (This->baseTexture.textureName == 0) {