Added check for Gallium drivers to use GLSL ES 3.00. #137

This commit is contained in:
Robert Beckebans 2014-08-20 13:07:59 +02:00
parent 7e49606cc8
commit 9147482a37
2 changed files with 5 additions and 5 deletions

View file

@ -342,7 +342,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 || idStr::Icmpn( glConfig.renderer_string, "Gallium", 7 ) == 0 )
{
glConfig.driverType = GLDRV_OPENGL_MESA;
}