X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=gl_draw.c;h=b4978abb1e4715a803a8eaae17b452c569705e4a;hp=2211f261cdd99eb5ddff18a567048d03ba57ae77;hb=f847004b9818defbfd4bf15fe7b891fee2706079;hpb=feb22f39c2c1a481b8c7a2364767b6402d5d94a1 diff --git a/gl_draw.c b/gl_draw.c index 2211f261..b4978abb 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -267,7 +267,7 @@ cachepic_t *Draw_NewPic(const char *picname, int width, int height, unsigned cha if (pic->flags & CACHEPICFLAG_NEWPIC && pic->skinframe && pic->skinframe->base && pic->width == width && pic->height == height) { Con_DPrintf("Draw_NewPic(\"%s\"): frame %i: updating texture\n", picname, draw_frame); - R_UpdateTexture(pic->skinframe->base, pixels_bgra, 0, 0, 0, width, height, 1); + R_UpdateTexture(pic->skinframe->base, pixels_bgra, 0, 0, 0, width, height, 1, 0); R_SkinFrame_MarkUsed(pic->skinframe); pic->lastusedframe = draw_frame; return pic;