From ead5e8916507e1d18e6d9b1779929fba7892e550 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 14 Dec 2022 12:40:14 +0900 Subject: [PATCH] [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. --- libs/video/renderer/r_progs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/video/renderer/r_progs.c b/libs/video/renderer/r_progs.c index 9d8309dfa..2a22dd05d 100644 --- a/libs/video/renderer/r_progs.c +++ b/libs/video/renderer/r_progs.c @@ -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;