medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit b5c4d79306d200a976de09e69f82249cda5d1667
parent b40ade9fd9951be943b4069fc77d26ffcbef5208
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Dec 25 14:28:11 +0200

Log which extensions were loaded

Diffstat:
gl.cc | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/gl.cc b/gl.cc @@ -102,6 +102,12 @@ GLFWwindow * gl_init() { FATAL( "gladLoadGL" ); } + INFO( "Using extensions:%s%s%s%s", + GLAD_GL_KHR_debug ? " KHR_debug_output" : "", + GLAD_GL_EXT_texture_sRGB ? " EXT_texture_sRGB" : "", + GLAD_GL_EXT_texture_compression_s3tc ? " EXT_texture_compression_s3tc" : "", + GLAD_GL_EXT_texture_compression_rgtc ? " EXT_texture_compression_rgtc" : "" ); + #if PLATFORM_LINUX if( GLAD_GL_KHR_debug != 0 ) { GLint context_flags;