mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Made GL_ARB_multitexture exception for OpenGL core profiles and Mesa #189
This commit is contained in:
parent
0f52880767
commit
6a906704c5
1 changed files with 8 additions and 1 deletions
|
@ -353,7 +353,14 @@ static void R_CheckPortableExtensions()
|
|||
// RB end
|
||||
|
||||
// GL_ARB_multitexture
|
||||
glConfig.multitextureAvailable = GLEW_ARB_multitexture != 0;
|
||||
if( glConfig.driverType == GLDRV_OPENGL32_COMPATIBILITY_PROFILE || glConfig.driverType == GLDRV_OPENGL32_CORE_PROFILE || glConfig.driverType == GLDRV_OPENGL_MESA )
|
||||
{
|
||||
glConfig.multitextureAvailable = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
glConfig.multitextureAvailable = GLEW_ARB_multitexture != 0;
|
||||
}
|
||||
|
||||
// GL_EXT_direct_state_access
|
||||
glConfig.directStateAccess = GLEW_EXT_direct_state_access != 0;
|
||||
|
|
Loading…
Reference in a new issue