Clear numLightmaps in renderergl2

This commit is contained in:
smallmodel 2025-01-19 17:31:50 +01:00
parent 4e174fd5bf
commit 1f599e62c6
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -248,6 +248,8 @@ static void R_LoadLightmaps( lump_t *l, lump_t *surfs ) {
float maxIntensity = 0;
double sumIntensity = 0;
tr.numLightmaps = 0;
len = l->filelen;
if ( !len ) {
return;