mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 08:21:18 +12:00
Add all the files
This commit is contained in:
parent
e3db07a16a
commit
d60742f52b
1445 changed files with 430238 additions and 0 deletions
42
src/Common/GLInclude/GLInclude.h
Normal file
42
src/Common/GLInclude/GLInclude.h
Normal file
|
@ -0,0 +1,42 @@
|
|||
#pragma once
|
||||
|
||||
#include "glext.h"
|
||||
|
||||
#if BOOST_OS_WINDOWS > 0
|
||||
#include "wglext.h"
|
||||
#endif
|
||||
|
||||
#if BOOST_OS_LINUX > 0
|
||||
|
||||
// from Xlib
|
||||
#define Bool int
|
||||
#define Status int
|
||||
#define True 1
|
||||
#define False 0
|
||||
|
||||
// from system glx.h
|
||||
typedef XID GLXContextID;
|
||||
typedef XID GLXPixmap;
|
||||
typedef XID GLXDrawable;
|
||||
typedef XID GLXPbuffer;
|
||||
typedef XID GLXWindow;
|
||||
typedef XID GLXFBConfigID;
|
||||
typedef struct __GLXcontextRec *GLXContext;
|
||||
typedef struct __GLXFBConfigRec *GLXFBConfig;
|
||||
|
||||
#include "glxext.h"
|
||||
|
||||
#undef Bool
|
||||
#undef Status
|
||||
#undef True
|
||||
#undef False
|
||||
|
||||
#endif
|
||||
|
||||
#define GLFUNC(__type, __name) extern __type __name;
|
||||
#include "glFunctions.h"
|
||||
#undef GLFUNC
|
||||
|
||||
// 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