|
@@ -350,9 +350,9 @@ struct _GLFWcontext
|
|
int robustness;
|
|
int robustness;
|
|
int release;
|
|
int release;
|
|
|
|
|
|
- PFNGLGETSTRINGIPROC GetStringi;
|
|
|
|
|
|
+ PFNGLGETSTRINGIPROC GetStringi;
|
|
PFNGLGETINTEGERVPROC GetIntegerv;
|
|
PFNGLGETINTEGERVPROC GetIntegerv;
|
|
- PFNGLGETSTRINGPROC GetString;
|
|
|
|
|
|
+ PFNGLGETSTRINGPROC GetString;
|
|
|
|
|
|
_GLFWmakecontextcurrentfun makeCurrent;
|
|
_GLFWmakecontextcurrentfun makeCurrent;
|
|
_GLFWswapbuffersfun swapBuffers;
|
|
_GLFWswapbuffersfun swapBuffers;
|
|
@@ -405,23 +405,23 @@ struct _GLFWwindow
|
|
_GLFWcontext context;
|
|
_GLFWcontext context;
|
|
|
|
|
|
struct {
|
|
struct {
|
|
- GLFWwindowposfun pos;
|
|
|
|
- GLFWwindowsizefun size;
|
|
|
|
- GLFWwindowclosefun close;
|
|
|
|
- GLFWwindowrefreshfun refresh;
|
|
|
|
- GLFWwindowfocusfun focus;
|
|
|
|
- GLFWwindowiconifyfun iconify;
|
|
|
|
- GLFWwindowmaximizefun maximize;
|
|
|
|
- GLFWframebuffersizefun fbsize;
|
|
|
|
|
|
+ GLFWwindowposfun pos;
|
|
|
|
+ GLFWwindowsizefun size;
|
|
|
|
+ GLFWwindowclosefun close;
|
|
|
|
+ GLFWwindowrefreshfun refresh;
|
|
|
|
+ GLFWwindowfocusfun focus;
|
|
|
|
+ GLFWwindowiconifyfun iconify;
|
|
|
|
+ GLFWwindowmaximizefun maximize;
|
|
|
|
+ GLFWframebuffersizefun fbsize;
|
|
GLFWwindowcontentscalefun scale;
|
|
GLFWwindowcontentscalefun scale;
|
|
- GLFWmousebuttonfun mouseButton;
|
|
|
|
- GLFWcursorposfun cursorPos;
|
|
|
|
- GLFWcursorenterfun cursorEnter;
|
|
|
|
- GLFWscrollfun scroll;
|
|
|
|
- GLFWkeyfun key;
|
|
|
|
- GLFWcharfun character;
|
|
|
|
- GLFWcharmodsfun charmods;
|
|
|
|
- GLFWdropfun drop;
|
|
|
|
|
|
+ GLFWmousebuttonfun mouseButton;
|
|
|
|
+ GLFWcursorposfun cursorPos;
|
|
|
|
+ GLFWcursorenterfun cursorEnter;
|
|
|
|
+ GLFWscrollfun scroll;
|
|
|
|
+ GLFWkeyfun key;
|
|
|
|
+ GLFWcharfun character;
|
|
|
|
+ GLFWcharmodsfun charmods;
|
|
|
|
+ GLFWdropfun drop;
|
|
} callbacks;
|
|
} callbacks;
|
|
|
|
|
|
// This is defined in the window API's platform.h
|
|
// This is defined in the window API's platform.h
|