mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 14:30:48 +00:00
We need to apply the lightmap.
This fixes #61. The issue was found and patched by ppsspp-gamer.
This commit is contained in:
parent
533fbb7016
commit
531ee80ab4
1 changed files with 2 additions and 0 deletions
|
@ -646,6 +646,8 @@ R_Upload32Native(unsigned *data, int width, int height, qboolean mipmap)
|
|||
upload_width = width;
|
||||
upload_height = height;
|
||||
|
||||
R_LightScaleTexture(data, upload_width, upload_height, !mipmap);
|
||||
|
||||
for (i = 0; i < c; i++, scan += 4)
|
||||
{
|
||||
if (*scan != 255)
|
||||
|
|
Loading…
Reference in a new issue