Backends/Rendering/SDLTexture: Used Uint8 instead of uint8_t to match SDL_SetRenderDrawColor

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2020-04-12 01:11:13 +02:00
parent 4301fc613e
commit 5ed34e73d4

View file

@ -379,7 +379,7 @@ void RenderBackend_ColourFill(RenderBackend_Surface *surface, const RECT *rect,
SDL_Rect sdl_rect;
RectToSDLRect(rect, &sdl_rect);
uint8_t alpha = SDL_ALPHA_OPAQUE;
Uint8 alpha = SDL_ALPHA_OPAQUE;
// Check colour-key
if (red == 0 && green == 0 && blue == 0)