Fixed building on Raspberry Pi

This commit is contained in:
Sam Lantinga
2023-01-13 14:20:57 -08:00
parent 0ed4589ed2
commit bf53183c8b
6 changed files with 44 additions and 13 deletions

View File

@@ -277,11 +277,6 @@ static int RPI_WarpMouseGlobalGraphically(float x, float y)
static int RPI_WarpMouseGlobal(float x, float y)
{
RPI_CursorData *curdata;
DISPMANX_UPDATE_HANDLE_T update;
int ret;
VC_RECT_T dst_rect;
VC_RECT_T src_rect;
SDL_Mouse *mouse = SDL_GetMouse();
if (mouse == NULL || mouse->cur_cursor == NULL || mouse->cur_cursor->driverdata == NULL) {

View File

@@ -26,9 +26,7 @@
#include "../SDL_sysvideo.h"
#include <bcm_host.h>
#include "GLES/gl.h"
#include "EGL/egl.h"
#include "EGL/eglext.h"
#include <SDL3/SDL_egl.h>
typedef struct SDL_VideoData
{