mirror of
https://github.com/aap/librw.git
synced 2025-12-19 17:09:51 +00:00
@@ -25,13 +25,14 @@
|
||||
|
||||
namespace rw {
|
||||
namespace gl3 {
|
||||
|
||||
#ifndef LIBRW_SDL2
|
||||
struct DisplayMode
|
||||
{
|
||||
GLFWvidmode mode;
|
||||
int32 depth;
|
||||
uint32 flags;
|
||||
};
|
||||
#endif
|
||||
|
||||
struct GlGlobals
|
||||
{
|
||||
@@ -48,13 +49,13 @@ struct GlGlobals
|
||||
DisplayMode *modes;
|
||||
int numModes;
|
||||
int currentMode;
|
||||
GLFWwindow **pWindow;
|
||||
#endif
|
||||
int presentWidth, presentHeight;
|
||||
|
||||
// for opening the window
|
||||
int winWidth, winHeight;
|
||||
const char *winTitle;
|
||||
GLFWwindow **pWindow;
|
||||
} glGlobals;
|
||||
|
||||
struct UniformState
|
||||
|
||||
@@ -14,6 +14,7 @@ struct EngineOpenParams
|
||||
{
|
||||
#ifdef LIBRW_SDL2
|
||||
SDL_Window **window;
|
||||
bool32 fullscreen;
|
||||
#else
|
||||
GLFWwindow **window;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user