Shrinking UI elements in the debugger.

This commit is contained in:
Ben Vanik
2015-09-06 20:49:20 -07:00
parent e5fbf840d2
commit a1a996c1e6
9 changed files with 46 additions and 5 deletions

View File

@@ -414,6 +414,10 @@ std::unique_ptr<el::graphics::Renderer> GLContext::CreateElementalRenderer() {
return GL4ElementalRenderer::Create(this);
}
bool GLContext::is_current() {
return tls_glew_context_ == glew_context_.get();
}
bool GLContext::MakeCurrent() {
SCOPE_profile_cpu_f("gpu");
if (FLAGS_thread_safe_gl) {