diff --git a/src/app.cpp b/src/app.cpp index 8b8c031..9ce4f25 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -235,13 +235,12 @@ void App::download(std::string url, std::string dest_filepath, std::function progress) @@ -340,12 +338,16 @@ void App::init() LOG("GL vendor: %s", glGetString(GL_VENDOR)); LOG("GL renderer: %s", glGetString(GL_RENDERER)); -// GLint n_exts; -// glGetIntegerv(GL_NUM_EXTENSIONS, &n_exts); -// for (int i = 0; i < n_exts; i++) -// { -// LOG("%s", glGetStringi(GL_EXTENSIONS, i)); -// } + GLint n_exts; + glGetIntegerv(GL_NUM_EXTENSIONS, &n_exts); + for (int i = 0; i < n_exts; i++) + { + std::string ext = (const char*)glGetStringi(GL_EXTENSIONS, i); + if (ext.find("debug") != std::string::npos) + { + LOG("%s", glGetStringi(GL_EXTENSIONS, i)); + } + } LOG("Screen Resolution: %dx%d", (int)width, (int)height);