Shut up a warning
This commit is contained in:
parent
56adcd9dfe
commit
22dc6836c5
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ void Backend_DrawGlyph(Backend_Surface *surface, Backend_Glyph *glyph, long x, l
|
||||||
if (glyph == NULL || surface == NULL)
|
if (glyph == NULL || surface == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
SDL_Rect destination_rect = {(int)x, (int)y, glyph->width, glyph->height};
|
SDL_Rect destination_rect = {(int)x, (int)y, (int)glyph->width, (int)glyph->height};
|
||||||
|
|
||||||
// Blit the texture
|
// Blit the texture
|
||||||
SDL_SetTextureColorMod(glyph->texture, colours[0], colours[1], colours[2]);
|
SDL_SetTextureColorMod(glyph->texture, colours[0], colours[1], colours[2]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue