mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Pre-invert subpic->size.
I forgot to do this earlier :/
This commit is contained in:
parent
601cc6e3d1
commit
fa82c37bd0
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ GL_ScrapSubpic (scrap_t *scrap, int width, int height)
|
|||
*((int *) &subpic->tnum) = scrap->tnum;
|
||||
*((int *) &subpic->width) = width;
|
||||
*((int *) &subpic->height) = height;
|
||||
*((float *) &subpic->size) = scrap->size;
|
||||
*((float *) &subpic->size) = 1.0 / scrap->size;
|
||||
return subpic;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue