mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 11:58:12 +00:00
Fixed building on Raspberry Pi
This commit is contained in:
@@ -108,8 +108,7 @@ static bool RPI_ShowCursor(SDL_Cursor *cursor)
|
|||||||
SDL_DisplayData *data;
|
SDL_DisplayData *data;
|
||||||
VC_DISPMANX_ALPHA_T alpha = { DISPMANX_FLAGS_ALPHA_FROM_SOURCE /* flags */, 255 /*opacity 0->255*/, 0 /* mask */ };
|
VC_DISPMANX_ALPHA_T alpha = { DISPMANX_FLAGS_ALPHA_FROM_SOURCE /* flags */, 255 /*opacity 0->255*/, 0 /* mask */ };
|
||||||
uint32_t layer = SDL_RPI_MOUSELAYER;
|
uint32_t layer = SDL_RPI_MOUSELAYER;
|
||||||
const char *int;
|
const char *hint;
|
||||||
bool result;
|
|
||||||
|
|
||||||
if (cursor != global_cursor) {
|
if (cursor != global_cursor) {
|
||||||
if (global_cursor) {
|
if (global_cursor) {
|
||||||
|
Reference in New Issue
Block a user