OpenGL2: Use an OpenGL 3.2 core context if available.

This commit is contained in:
SmileTheory 2017-07-13 12:03:10 -07:00
parent 51ca4d35ea
commit d549b642bc
20 changed files with 313 additions and 349 deletions

View file

@ -3072,9 +3072,7 @@ static shader_t *FinishShader( void ) {
//
// look for multitexture potential
//
if ( qglActiveTextureARB ) {
stage = CollapseStagesToGLSL();
}
stage = CollapseStagesToGLSL();
if ( shader.lightmapIndex >= 0 && !hasLightmapStage ) {
if (vertexLightmap) {