mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-17 00:52:00 +00:00
Fix for black static lightmaps. (oops, forgot that one too)
This commit is contained in:
parent
cd0fbe1b52
commit
fdcf20b4a3
1 changed files with 1 additions and 2 deletions
|
@ -1440,8 +1440,7 @@ void GL_BuildLightmaps (void)
|
|||
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
||||
glTexImage2D (GL_TEXTURE_2D, 0, lightmap_bytes, BLOCK_WIDTH,
|
||||
BLOCK_HEIGHT, 0, gl_lightmap_format,
|
||||
GL_UNSIGNED_BYTE, lightmaps +
|
||||
i*BLOCK_WIDTH*BLOCK_HEIGHT*lightmap_bytes);
|
||||
GL_UNSIGNED_BYTE, lightmaps[i]);
|
||||
}
|
||||
|
||||
if (!gl_texsort->value)
|
||||
|
|
Loading…
Reference in a new issue