mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-23 06:21:57 +00:00
Fixed building on Raspberry Pi
This commit is contained in:
parent
0ed4589ed2
commit
bf53183c8b
6 changed files with 44 additions and 13 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue