From 65f074d2574fb2dccee9818a03fc93a07c115530 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 8 Oct 2011 23:57:03 +0200 Subject: [PATCH] Formatting. --- src/opengl.c | 1 + src/window.c | 1 + src/x11_enable.c | 1 + src/x11_window.c | 2 ++ 4 files changed, 5 insertions(+) diff --git a/src/opengl.c b/src/opengl.c index d75eee8f..f4c6984c 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -345,6 +345,7 @@ GLboolean _glfwIsValidContextConfig(_GLFWwndconfig* wndconfig) return GL_TRUE; } + //======================================================================== // Checks whether the specified context fulfils the requirements // It blames glfwOpenWindow because that's the only caller diff --git a/src/window.c b/src/window.c index 2e49b868..06c32b8d 100644 --- a/src/window.c +++ b/src/window.c @@ -817,6 +817,7 @@ GLFWAPI void glfwSetWindowSizeCallback(GLFWwindowsizefun cbfun) } } + //======================================================================== // Set callback function for window close events //======================================================================== diff --git a/src/x11_enable.c b/src/x11_enable.c index 9b439385..49961395 100644 --- a/src/x11_enable.c +++ b/src/x11_enable.c @@ -48,6 +48,7 @@ void _glfwPlatformEnableSystemKeys(_GLFWwindow* window) } } + //======================================================================== // Disable system keys //======================================================================== diff --git a/src/x11_window.c b/src/x11_window.c index a05b121c..962da7fb 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -206,6 +206,7 @@ static GLboolean hasEWMH(_GLFWwindow* window) return GL_TRUE; } + //======================================================================== // Translates an X Window key to internal coding //======================================================================== @@ -974,6 +975,7 @@ static void enterFullscreenMode(_GLFWwindow* window) window->width / 2, window->height / 2); } + //======================================================================== // Leave fullscreen mode //========================================================================