mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fix defines
This commit is contained in:
parent
c7cec2c792
commit
23db5381a3
@ -38,7 +38,7 @@
|
|||||||
#include "SDL_vitakeyboard.h"
|
#include "SDL_vitakeyboard.h"
|
||||||
#include "SDL_vitamouse_c.h"
|
#include "SDL_vitamouse_c.h"
|
||||||
#include "SDL_vitaframebuffer.h"
|
#include "SDL_vitaframebuffer.h"
|
||||||
#if SDLVIDEO_OPENGL_ES2
|
#if SDL_VIDEO_OPENGL_ES2
|
||||||
#include "SDL_vitagl_c.h"
|
#include "SDL_vitagl_c.h"
|
||||||
#endif
|
#endif
|
||||||
#include <psp2/ime_dialog.h>
|
#include <psp2/ime_dialog.h>
|
||||||
@ -62,7 +62,7 @@ VITA_Create()
|
|||||||
{
|
{
|
||||||
SDL_VideoDevice *device;
|
SDL_VideoDevice *device;
|
||||||
SDL_VideoData *phdata;
|
SDL_VideoData *phdata;
|
||||||
#if SDLVIDEO_OPENGL_ES2
|
#if SDL_VIDEO_OPENGL_ES2
|
||||||
SDL_GLDriverData *gldata;
|
SDL_GLDriverData *gldata;
|
||||||
#endif
|
#endif
|
||||||
/* Initialize SDL_VideoDevice structure */
|
/* Initialize SDL_VideoDevice structure */
|
||||||
@ -79,7 +79,7 @@ VITA_Create()
|
|||||||
SDL_free(device);
|
SDL_free(device);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#if SDLVIDEO_OPENGL_ES2
|
#if SDL_VIDEO_OPENGL_ES2
|
||||||
|
|
||||||
gldata = (SDL_GLDriverData *) SDL_calloc(1, sizeof(SDL_GLDriverData));
|
gldata = (SDL_GLDriverData *) SDL_calloc(1, sizeof(SDL_GLDriverData));
|
||||||
if (gldata == NULL) {
|
if (gldata == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user