OpenGL2: Fix rendering when r_hdr = 0 and r_floatLightmap = 1

This commit is contained in:
SmileTheory committed 2014-02-14 22:41:25 -08:00
1 parent 3cfc1bb1f9
commit 5fabc28dff
4 files changed
+13 -11

No files matched your search

+3
View File
@@ -725,4 +725,7 @@ void GLimp_InitExtraExtensions()
{
ri.Printf(PRINT_ALL, result[2], extension);
}
// use float lightmaps?
glRefConfig.floatLightmap = (glRefConfig.textureFloat && glRefConfig.halfFloatPixel && r_floatLightmap->integer && r_hdr->integer);
}