mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 08:21:18 +12:00
OpenGL: Fix crash related to wxWidgets handling of vsync (#1112)
This commit is contained in:
parent
a2d74972d4
commit
e1435066ee
2 changed files with 18 additions and 0 deletions
|
@ -36,6 +36,8 @@ typedef struct __GLXFBConfigRec *GLXFBConfig;
|
|||
|
||||
#endif
|
||||
|
||||
namespace CemuGL
|
||||
{
|
||||
#define GLFUNC(__type, __name) extern __type __name;
|
||||
#define EGLFUNC(__type, __name) extern __type __name;
|
||||
#include "glFunctions.h"
|
||||
|
@ -213,6 +215,8 @@ static void glCompressedTextureSubImage3DWrapper(GLenum target, GLuint texture,
|
|||
glBindTexture(target, originalTexture);
|
||||
}
|
||||
|
||||
}
|
||||
using namespace CemuGL;
|
||||
// this prevents Windows GL.h from being included:
|
||||
#define __gl_h_
|
||||
#define __GL_H__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue