This better actually fix the lightmap code.
This commit is contained in:
parent
8ebd2c6243
commit
75ec7de2f5
|
@ -295,7 +295,7 @@ R_BuildLightMap (msurface_t *surf, byte * dest, int stride)
|
||||||
bl++;
|
bl++;
|
||||||
*dest++ = min (*bl >> shift, 255);
|
*dest++ = min (*bl >> shift, 255);
|
||||||
bl++;
|
bl++;
|
||||||
dest++; // set to 255 if RGBA internal format is wanted
|
*dest++ = 255; // set to 255 if RGBA internal format is wanted
|
||||||
// instead of RGB
|
// instead of RGB
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue