From 5ed34e73d4ddf92d109f761d73b14ca2494fdf95 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Sun, 12 Apr 2020 01:11:13 +0200 Subject: [PATCH] Backends/Rendering/SDLTexture: Used `Uint8` instead of `uint8_t` to match `SDL_SetRenderDrawColor` Signed-off-by: Gabriel Ravier --- src/Backends/Rendering/SDLTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backends/Rendering/SDLTexture.cpp b/src/Backends/Rendering/SDLTexture.cpp index 339b417d..4ae1d54a 100644 --- a/src/Backends/Rendering/SDLTexture.cpp +++ b/src/Backends/Rendering/SDLTexture.cpp @@ -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)