|
窗口提示:
Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test failed, requires valid graphics context.
void TextureCubeMap::Extensions::setupGLExtensions(unsigned int contextID)
{
_isCubeMapSupported = isGLExtensionSupported(contextID,"GL_ARB_texture_cube_map") ||
isGLExtensionSupported(contextID,"GL_EXT_texture_cube_map") ||
strncmp((const char*)glGetString(GL_VERSION),"1.3",3)>=0;;
}
((const char*)glGetString(GL_VERSION)此处出现指针错误,,
请问是什么原因呀? |
|