Module: wine Branch: master Commit: 8ec63a9cf78b73a0c733fc824b0c396ccb16cb31 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ec63a9cf78b73a0c733fc824b...
Author: Alexander Dorofeyev alexd4@inbox.lv Date: Thu Apr 3 00:12:08 2008 +0300
wined3d: Remove ENTER_GL/LEAVE_GL in IWineD3DCubeTextureImpl_PreLoad.
---
dlls/wined3d/cubetexture.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/cubetexture.c b/dlls/wined3d/cubetexture.c index 9426448..c44b3f9 100644 --- a/dlls/wined3d/cubetexture.c +++ b/dlls/wined3d/cubetexture.c @@ -125,7 +125,6 @@ static void WINAPI IWineD3DCubeTextureImpl_PreLoad(IWineD3DCubeTexture *iface) { } IWineD3DCubeTexture_BindTexture(iface);
- ENTER_GL(); /* If the texture is marked dirty or the srgb sampler setting has changed since the last load then reload the surfaces */ if (This->baseTexture.dirty) { for (i = 0; i < This->baseTexture.levels; i++) { @@ -152,7 +151,6 @@ static void WINAPI IWineD3DCubeTextureImpl_PreLoad(IWineD3DCubeTexture *iface) { } else { TRACE("(%p) Texture not dirty, nothing to do\n" , iface); } - LEAVE_GL();
/* No longer dirty */ This->baseTexture.dirty = FALSE;