OpenGL2: Fix rendering when r_hdr = 0 and r_floatLightmap = 1
This commit is contained in:
parent
3cfc1bb1f9
commit
5fabc28dff
4 changed files with 13 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue