Alexandre Julliard : d3d8: Fixed compile with older GL versions.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Feb 16 05:34:16 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 45bf26cbdb2aeb1650b5ef9e5276bf849c030e6f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=45bf26cbdb2aeb1650b5ef9e5276bf849c030e6f
Author: Alexandre Julliard <julliard at 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");
More information about the wine-cvs
mailing list