VITASDK compatibility

This commit is contained in:
Ivan Epifanov authored and Sam Lantinga committed 2021-03-08 09:07:12 -08:00
1 parent 7d89f09f74
commit ca5e5d6154
8 files changed
+86 -12

No files matched your search

+2 -7
View File
@@ -142,16 +142,11 @@
#define SDL_FILESYSTEM_VITA 1
#define SDL_SENSOR_VITA 1
//#if defined(_VITA_GLES2_)
#if defined(DOLCEVITA)
#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
#endif
#define SDL_VIDEO_RENDER_VITA_GXM 1
/* VITA doesn't have haptic device (src/haptic/dummy/\*.c) */
#define SDL_HAPTIC_DISABLED 1
+1 -1
View File
@@ -366,7 +366,7 @@ SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8);
/** \cond */
#ifndef DOXYGEN_SHOULD_IGNORE_THIS
#if !defined(__ANDROID__)
#if !defined(__ANDROID__) && !defined(__VITA__)
/* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */
typedef enum
{