OpenGL2: Fix rendering when r_hdr = 0 and r_floatLightmap = 1
This commit is contained in:
1 parent
3cfc1bb1f9
commit
5fabc28dff
4 files changed
+13
-11
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user