mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Remove typedefs only used in one place
This commit is contained in:
parent
36ea36736d
commit
ff9d9515f6
@ -77,13 +77,6 @@ typedef struct _GLFWjoystick _GLFWjoystick;
|
|||||||
typedef struct _GLFWtls _GLFWtls;
|
typedef struct _GLFWtls _GLFWtls;
|
||||||
typedef struct _GLFWmutex _GLFWmutex;
|
typedef struct _GLFWmutex _GLFWmutex;
|
||||||
|
|
||||||
typedef void (* _GLFWmakecontextcurrentfun)(_GLFWwindow*);
|
|
||||||
typedef void (* _GLFWswapbuffersfun)(_GLFWwindow*);
|
|
||||||
typedef void (* _GLFWswapintervalfun)(int);
|
|
||||||
typedef int (* _GLFWextensionsupportedfun)(const char*);
|
|
||||||
typedef GLFWglproc (* _GLFWgetprocaddressfun)(const char*);
|
|
||||||
typedef void (* _GLFWdestroycontextfun)(_GLFWwindow*);
|
|
||||||
|
|
||||||
#define GL_VERSION 0x1f02
|
#define GL_VERSION 0x1f02
|
||||||
#define GL_NONE 0
|
#define GL_NONE 0
|
||||||
#define GL_COLOR_BUFFER_BIT 0x00004000
|
#define GL_COLOR_BUFFER_BIT 0x00004000
|
||||||
@ -513,12 +506,12 @@ struct _GLFWcontext
|
|||||||
PFNGLGETINTEGERVPROC GetIntegerv;
|
PFNGLGETINTEGERVPROC GetIntegerv;
|
||||||
PFNGLGETSTRINGPROC GetString;
|
PFNGLGETSTRINGPROC GetString;
|
||||||
|
|
||||||
_GLFWmakecontextcurrentfun makeCurrent;
|
void (*makeCurrent)(_GLFWwindow*);
|
||||||
_GLFWswapbuffersfun swapBuffers;
|
void (*swapBuffers)(_GLFWwindow*);
|
||||||
_GLFWswapintervalfun swapInterval;
|
void (*swapInterval)(int);
|
||||||
_GLFWextensionsupportedfun extensionSupported;
|
int (*extensionSupported)(const char*);
|
||||||
_GLFWgetprocaddressfun getProcAddress;
|
GLFWglproc (*getProcAddress)(const char*);
|
||||||
_GLFWdestroycontextfun destroy;
|
void (*destroy)(_GLFWwindow*);
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
EGLConfig config;
|
EGLConfig config;
|
||||||
|
Loading…
Reference in New Issue
Block a user