From 7980359f94eef2bb168bb7e017d060afbfbd4a7e Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 14 Oct 2010 17:55:45 +0200 Subject: [PATCH] Formatting. --- src/cocoa/platform.h | 1 + src/x11/platform.h | 15 ++++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) 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