mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-02 23:41:51 +00:00
Merge pull request #93 from dekadenZ/fix-renderer-string-cmp
Fix length error in prefix comparison
This commit is contained in:
commit
d326d49cf0
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ static void R_CheckPortableExtensions()
|
||||||
}
|
}
|
||||||
|
|
||||||
// RB: Mesa support
|
// 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", 5 ) == 0 )
|
||||||
{
|
{
|
||||||
glConfig.driverType = GLDRV_OPENGL_MESA;
|
glConfig.driverType = GLDRV_OPENGL_MESA;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue