mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
VITASDK compatibility
This commit is contained in:
committed by
Sam Lantinga
parent
7d89f09f74
commit
ca5e5d6154
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user