mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[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:
parent
b230fe18ce
commit
ead5e89165
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue