mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
memset doesn't use bits 8+
This commit is contained in:
parent
3047a6a4ba
commit
06946d6ab4
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ R_BuildLightMap (msurface_t *surf, byte * dest, int stride)
|
|||
|
||||
// set to full bright if no light data
|
||||
if (!r_worldentity.model->lightdata) {
|
||||
memset (&blocklights[0], 65280, 3 * size * sizeof(int));
|
||||
memset (&blocklights[0], 0xff, 3 * size * sizeof(int));
|
||||
goto store;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue