[renderer] Don't mark made pics as cached

Marking them as cached means that they'll be "uncached" instead of
destroyed when freed, which would not be a particularly good thing. I
have no memory as to how I found this as I found the change in my git
stash.
This commit is contained in:
Bill Currie 2022-12-14 12:40:14 +09:00
parent b230fe18ce
commit ead5e89165

View file

@ -194,7 +194,7 @@ bi_Draw_MakePic (progs_t *pr, void *_res)
qp = qpic_new (res);
qp->name = 0;
qp->pic = pic;
qp->cached = 1;
qp->cached = 0;
bq = PR_Zone_Malloc (pr, sizeof (bi_qpic_t));
bq->width = pic->width;
bq->height = pic->height;