make sure lightmap textures have the right image format shown.
This commit is contained in:
parent
e09f707067
commit
f918b3c9c8
|
@ -5597,6 +5597,7 @@ void GLBE_UpdateLightmaps(void)
|
|||
else
|
||||
{
|
||||
GL_MTBind(0, GL_TEXTURE_2D, lm->lightmap_texture);
|
||||
lm->lightmap_texture->format = lm->fmt;
|
||||
if (lm->pbo_handle)
|
||||
{
|
||||
qglBindBufferARB(GL_PIXEL_UNPACK_BUFFER_ARB, lm->pbo_handle);
|
||||
|
|
Loading…
Reference in New Issue