Pre-invert subpic->size.

I forgot to do this earlier :/
This commit is contained in:
Bill Currie 2012-01-08 17:44:28 +09:00
parent 601cc6e3d1
commit fa82c37bd0

View file

@ -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;
}