diff --git a/src/cocoa/platform.h b/src/cocoa/platform.h index 708f8aeb..b77241a9 100644 --- a/src/cocoa/platform.h +++ b/src/cocoa/platform.h @@ -67,6 +67,7 @@ typedef const GLubyte* (APIENTRY *PFNGLGETSTRINGIPROC)(GLenum, GLuint); //------------------------------------------------------------------------ typedef intptr_t GLFWintptr; + //------------------------------------------------------------------------ // Platform-specific OpenGL context structure //------------------------------------------------------------------------ diff --git a/src/x11/platform.h b/src/x11/platform.h index 1db5b359..a3a6e428 100644 --- a/src/x11/platform.h +++ b/src/x11/platform.h @@ -66,10 +66,6 @@ #include #endif -// Pointer length integer -// One day, this will most likely move into glfw.h -typedef intptr_t GLFWintptr; - #ifndef GL_VERSION_3_0 @@ -83,10 +79,15 @@ typedef const GLubyte* (APIENTRY *PFNGLGETSTRINGIPROC)(GLenum, GLuint); #define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextGLX GLX +//======================================================================== +// GLFW platform specific types +//======================================================================== + +//------------------------------------------------------------------------ +// Pointer length integer +//------------------------------------------------------------------------ +typedef intptr_t GLFWintptr; -//======================================================================== -// Global variables (GLFW internals) -//======================================================================== //------------------------------------------------------------------------ // Platform-specific OpenGL context structure