Some adaptments for vita build.

This commit is contained in:
Rinnegatamante
2020-09-26 10:53:13 +02:00
parent 27112f2c22
commit 8e214158a2
5 changed files with 22 additions and 36 deletions
+6 -1
View File
@@ -4,6 +4,10 @@
#include <switch.h>
#endif
#ifdef PSP2
#include <vitasdk.h>
#include <vitaGL.h>
#else
#ifndef LIBRW_GLAD
#include <GL/glew.h>
#else
@@ -16,6 +20,7 @@
#include <GLFW/glfw3.h>
#endif
#endif
#endif
namespace rw {
@@ -25,7 +30,7 @@ struct EngineOpenParams
#ifdef LIBRW_SDL2
SDL_Window **window;
bool32 fullscreen;
#else
#elif !defined(PSP2)
GLFWwindow **window;
#endif
int width, height;