OGL: cubemaps

Robert Lunnon bob at yarrabee.net.au
Tue May 20 08:09:45 CDT 2003


Compiling the latest CVS wine gives the following compile time error due to 
use of cubemapping under Solaris.

I suggest perhaps a configure test for the OGL version prior to enabling this 
code since this obviously Isn't supported for Mesa 3.2 and utah glx. (No 
Can't use DRI, not (yet) supported under Solaris) 


cubetexture.c:125: `GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB' undeclared here (not 
in a function)
cubetexture.c:125: initializer element is not constant
cubetexture.c:125: (near initialization for `cube_targets[0]')
cubetexture.c:126: `GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB' undeclared here (not 
in a function)
cubetexture.c:126: initializer element is not constant
cubetexture.c:126: (near initialization for `cube_targets[1]')
cubetexture.c:127: `GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB' undeclared here (not 
in a function)
cubetexture.c:127: initializer element is not constant
cubetexture.c:127: (near initialization for `cube_targets[2]')
cubetexture.c:128: `GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB' undeclared here (not 
in a function)
cubetexture.c:128: initializer element is not constant
cubetexture.c:128: (near initialization for `cube_targets[3]')
cubetexture.c:129: `GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB' undeclared here (not 
in a function)
cubetexture.c:129: initializer element is not constant
cubetexture.c:129: (near initialization for `cube_targets[4]')
cubetexture.c:132: `GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB' undeclared here (not 
in a function)
cubetexture.c:132: initializer element is not constant
cubetexture.c:132: (near initialization for `cube_targets[5]')
cubetexture.c: In function `IDirect3DCubeTexture8Impl_PreLoad':
cubetexture.c:144: `GL_TEXTURE_CUBE_MAP_ARB' undeclared (first use in this 
function)




More information about the wine-devel mailing list