diff --git a/cpp/render/render_opengles.cpp b/cpp/render/render_opengles.cpp index 792e6c8..7d4795a 100644 --- a/cpp/render/render_opengles.cpp +++ b/cpp/render/render_opengles.cpp @@ -55,6 +55,16 @@ void rk_render_initialize( printf("[GL] version: %s, language: %s\n", version, language); if (debug) { + GLint max_texture_layers = 0; + glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &max_texture_layers); + printf("[GL] Max texture layers: %d\n", max_texture_layers); + GLint max_vertex_attribs = 0; + glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &max_vertex_attribs); + printf("[GL] Max vertex attribs: %d\n", max_vertex_attribs); + GLint max_vertex_bindings = 0; + glGetIntegerv(GL_MAX_VERTEX_ATTRIB_BINDINGS, &max_vertex_bindings); + printf("[GL] Max vertex bindings: %d\n", max_vertex_bindings); + glDebugMessageCallback(rk_debug_message_callback, nullptr); glEnable(GL_DEBUG_OUTPUT); }