diff --git a/libs/video/renderer/glsl/glsl_textures.c b/libs/video/renderer/glsl/glsl_textures.c index d744b6701..f889802f7 100644 --- a/libs/video/renderer/glsl/glsl_textures.c +++ b/libs/video/renderer/glsl/glsl_textures.c @@ -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; }