We need to apply the lightmap.

This fixes #61. The issue was found and patched by ppsspp-gamer.
This commit is contained in:
Yamagi Burmeister 2015-03-20 17:41:52 +01:00
parent 533fbb7016
commit 531ee80ab4

View file

@ -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)