ref: 5ed34e73d4ddf92d109f761d73b14ca2494fdf95
parent: 4301fc613e768ef2c6d55d9d44a7e73bf83a907c
author: Gabriel Ravier <gabravier@gmail.com>
date: Sat Apr 11 21:11:13 EDT 2020
Backends/Rendering/SDLTexture: Used `Uint8` instead of `uint8_t` to match `SDL_SetRenderDrawColor` Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
--- a/src/Backends/Rendering/SDLTexture.cpp
+++ b/src/Backends/Rendering/SDLTexture.cpp
@@ -379,7 +379,7 @@
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)