From dac1407120f775566386bce45c2e885430b7a599 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Sun, 13 Jul 2014 13:38:50 +0200 Subject: [PATCH] Add some comments --- src/gl-fun.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gl-fun.cpp b/src/gl-fun.cpp index 637c116..2fed4e2 100644 --- a/src/gl-fun.cpp +++ b/src/gl-fun.cpp @@ -100,6 +100,7 @@ void initGLFunctions() #define HAVE_EXT(_ext) ext.contains("GL_" #_ext) + /* FBO entrypoints */ if (!HAVE_EXT(ARB_framebuffer_object)) { if (!(HAVE_EXT(EXT_framebuffer_object) && HAVE_EXT(EXT_framebuffer_blit))) @@ -116,6 +117,7 @@ void initGLFunctions() GL_FBO_FUN; } + /* VAO entrypoints */ if (!HAVE_EXT(ARB_vertex_array_object)) { if (!HAVE_EXT(APPLE_vertex_array_object)) @@ -132,6 +134,7 @@ void initGLFunctions() GL_VAO_FUN; } + /* Debug callback entrypoints */ if (HAVE_EXT(KHR_debug)) { #undef EXT_SUFFIX