mirror of https://github.com/encounter/SDL.git
Autobuild
This commit is contained in:
parent
0131105408
commit
bd14aa633f
|
@ -41,7 +41,7 @@ CC = $(PREFIX)-gcc
|
|||
AR = $(PREFIX)-ar
|
||||
CFLAGS = -g -Wl,-q -Wall -O3 -Iinclude \
|
||||
-D__VITA__ -D__ARM_ARCH=7 -D__ARM_ARCH_7A__ \
|
||||
-mfpu=neon -mcpu=cortex-a9 -mfloat-abi=hard
|
||||
-mfpu=neon -mcpu=cortex-a9 -mfloat-abi=hard -D_VITA_GLES2_
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
$(TARGET_LIB): $(OBJS)
|
||||
|
|
|
@ -41,7 +41,7 @@ CC = $(PREFIX)-gcc
|
|||
AR = $(PREFIX)-ar
|
||||
CFLAGS = -g -Wl,-q -Wall -O3 -Iinclude \
|
||||
-D__VITA__ -D__ARM_ARCH=7 -D__ARM_ARCH_7A__ \
|
||||
-mfpu=neon -mcpu=cortex-a9 -mfloat-abi=hard
|
||||
-mfpu=neon -mcpu=cortex-a9 -mfloat-abi=hard -D_VITA_GXM_
|
||||
ASFLAGS = $(CFLAGS)
|
||||
|
||||
$(TARGET_LIB): $(OBJS)
|
||||
|
|
|
@ -138,12 +138,14 @@
|
|||
#define SDL_VIDEO_DRIVER_VITA 1
|
||||
#define SDL_FILESYSTEM_VITA 1
|
||||
|
||||
|
||||
//#define SDL_VIDEO_RENDER_VITA_GLES2 1
|
||||
#define SDL_VIDEO_RENDER_VITA_GXM 1
|
||||
#if defined(_VITA_GLES2_)
|
||||
#define SDL_VIDEO_RENDER_VITA_GLES2 1
|
||||
#else
|
||||
#define SDL_VIDEO_RENDER_VITA_GXM 1
|
||||
#endif
|
||||
|
||||
#if defined(SDL_VIDEO_RENDER_VITA_GLES2) || defined(SDL_VIDEO_RENDER_VITA_GXM)
|
||||
#define SDL_VIDEO_OPENGL_ES2 1
|
||||
#define SDL_VIDEO_OPENGL_ES2 1
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -154,6 +156,7 @@
|
|||
// that' not true, but oh well
|
||||
#define SDL_LOADSO_DISABLED 1
|
||||
|
||||
/* TODO: VITA does have gyroscope. */
|
||||
#define SDL_SENSOR_DISABLED 1
|
||||
#define SDL_SENSOR_DUMMY 1
|
||||
|
||||
|
|
|
@ -280,7 +280,7 @@ VITA_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed)
|
|||
void
|
||||
VITA_DestroyWindow(_THIS, SDL_Window * window)
|
||||
{
|
||||
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
|
||||
// SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
|
||||
SDL_WindowData *data;
|
||||
|
||||
data = window->driverdata;
|
||||
|
|
Loading…
Reference in New Issue