]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_draw.c
modified Q1BSP loader to generate lightmap fragments on its own, rather than relying...
[xonotic/darkplaces.git] / gl_draw.c
index 50f472d4f099670117e3bade28c14eefbbd1961b..66a5cd19144d077492d65cf678f27de01815a5ca 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -405,7 +405,7 @@ cachepic_t *Draw_NewPic(const char *picname, int width, int height, int alpha, u
        {
                if (pic->tex && pic->width == width && pic->height == height)
                {
-                       R_UpdateTexture(pic->tex, pixels);
+                       R_UpdateTexture(pic->tex, pixels, 0, 0, width, height);
                        return pic;
                }
        }