Add some comments

This commit is contained in:
Jonas Kulla 2014-07-13 13:38:50 +02:00
parent b73461721c
commit dac1407120
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,7 @@ void initGLFunctions()
#define HAVE_EXT(_ext) ext.contains("GL_" #_ext) #define HAVE_EXT(_ext) ext.contains("GL_" #_ext)
/* FBO entrypoints */
if (!HAVE_EXT(ARB_framebuffer_object)) if (!HAVE_EXT(ARB_framebuffer_object))
{ {
if (!(HAVE_EXT(EXT_framebuffer_object) && HAVE_EXT(EXT_framebuffer_blit))) if (!(HAVE_EXT(EXT_framebuffer_object) && HAVE_EXT(EXT_framebuffer_blit)))
@ -116,6 +117,7 @@ void initGLFunctions()
GL_FBO_FUN; GL_FBO_FUN;
} }
/* VAO entrypoints */
if (!HAVE_EXT(ARB_vertex_array_object)) if (!HAVE_EXT(ARB_vertex_array_object))
{ {
if (!HAVE_EXT(APPLE_vertex_array_object)) if (!HAVE_EXT(APPLE_vertex_array_object))
@ -132,6 +134,7 @@ void initGLFunctions()
GL_VAO_FUN; GL_VAO_FUN;
} }
/* Debug callback entrypoints */
if (HAVE_EXT(KHR_debug)) if (HAVE_EXT(KHR_debug))
{ {
#undef EXT_SUFFIX #undef EXT_SUFFIX