Patched GLEW to get the extensions with OpenGL >= 3.2 for the case that glGetString(GL_EXTENSIONS) fails

This commit is contained in:
Robert Beckebans 2014-05-11 12:19:10 +02:00
parent f72d98a1eb
commit 5c0fedf190
3 changed files with 85 additions and 15 deletions

View file

@ -328,7 +328,7 @@ static void R_CheckPortableExtensions()
}
// RB: Mesa support
//if( idStr::Icmpn( glConfig.renderer_string, "Mesa", 4 ) == 0 || idStr::Icmpn( glConfig.renderer_string, "X.org", 4 ) == 0 )
if( idStr::Icmpn( glConfig.renderer_string, "Mesa", 4 ) == 0 || idStr::Icmpn( glConfig.renderer_string, "X.org", 4 ) == 0 )
{
glConfig.driverType = GLDRV_OPENGL_MESA;
}