Alexandre Julliard : d3d8: Fixed compile with older GL versions.
Module: wine Branch: refs/heads/master Commit: 45bf26cbdb2aeb1650b5ef9e5276bf849c030e6f URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=45bf26cbdb2aeb1650b5ef9e... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Feb 16 12:10:41 2006 +0100 d3d8: Fixed compile with older GL versions. --- dlls/d3d8/cubetexture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/d3d8/cubetexture.c b/dlls/d3d8/cubetexture.c index 0cc273b..0d6346a 100644 --- a/dlls/d3d8/cubetexture.c +++ b/dlls/d3d8/cubetexture.c @@ -165,7 +165,7 @@ void WINAPI IDirect3DCubeText #if defined(GL_VERSION_1_3) glBindTexture(GL_TEXTURE_CUBE_MAP, D3D8_SURFACE(This->surfaces[0][0])->textureName); #else - glBindTexture(GL_TEXTURE_CUBE_MAP_ARB, This->surfaces[0][0]->textureName); + glBindTexture(GL_TEXTURE_CUBE_MAP_ARB, D3D8_SURFACE(This->surfaces[0][0])->textureName); #endif checkGLcall("glBindTexture");
participants (1)
-
Alexandre Julliard