]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_draw.c
added r_shadow_bouncegrid cvar, this feature does realtime global
[xonotic/darkplaces.git] / gl_draw.c
index 1654cd4bf68d01abf8852b5c325ac0587beeada5..38e1c7ac232bbc131415d29dd1c685d61eb9cc3a 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -516,7 +516,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_bgra, 0, 0, width, height);
+                       R_UpdateTexture(pic->tex, pixels_bgra, 0, 0, 0, width, height, 1);
                        return pic;
                }
        }