Autobuild

This commit is contained in:
Ivan Epifanov 2020-11-21 23:09:30 +03:00 committed by Sam Lantinga
parent 0131105408
commit bd14aa633f
4 changed files with 10 additions and 7 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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

View file

@ -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;