mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 08:21:18 +12:00
Linux+OpenGL: Implement GUI vsync setting (#477)
This commit is contained in:
parent
2842615edb
commit
e9d10a9581
6 changed files with 391 additions and 19 deletions
|
@ -24,6 +24,9 @@ typedef XID GLXFBConfigID;
|
|||
typedef struct __GLXcontextRec *GLXContext;
|
||||
typedef struct __GLXFBConfigRec *GLXFBConfig;
|
||||
|
||||
#define EGL_EGL_PROTOTYPES 0
|
||||
#include "egl.h"
|
||||
#undef EGL_EGL_PROTOTYPES
|
||||
#include "glxext.h"
|
||||
|
||||
#undef Bool
|
||||
|
@ -34,9 +37,11 @@ typedef struct __GLXFBConfigRec *GLXFBConfig;
|
|||
#endif
|
||||
|
||||
#define GLFUNC(__type, __name) extern __type __name;
|
||||
#define EGLFUNC(__type, __name) extern __type __name;
|
||||
#include "glFunctions.h"
|
||||
#undef GLFUNC
|
||||
#undef EGLFUNC
|
||||
|
||||
// this prevents Windows GL.h from being included:
|
||||
#define __gl_h_
|
||||
#define __GL_H__
|
||||
#define __GL_H__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue