diff --git a/source/gl_draw.c b/source/gl_draw.c index 94e581a..275fa24 100644 --- a/source/gl_draw.c +++ b/source/gl_draw.c @@ -783,9 +783,9 @@ void Draw_AlphaStretchPic (int x, int y, int width, int height, float alpha, qpi glTexCoord2f (gl->sh, gl->tl); glVertex2f (x+width, y); glTexCoord2f (gl->sh, gl->th); - glVertex2f (x+width, yheight); + glVertex2f (x+width, y+height); glTexCoord2f (gl->sl, gl->th); - glVertex2f (x, yheight); + glVertex2f (x, y+height); glEnd (); if (alpha <= 1.0)