Fixing microprofile display.

This commit is contained in:
Ben Vanik 2015-03-21 23:00:15 -07:00
parent 2401bb7d03
commit c8ddc48106
1 changed files with 4 additions and 0 deletions

View File

@ -351,6 +351,10 @@ void GL4ProfilerDisplay::Begin() {
glEnablei(GL_BLEND, 0);
glBlendFunci(0, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glDisable(GL_DEPTH_TEST);
glDisable(GL_STENCIL_TEST);
glDisable(GL_SCISSOR_TEST);
glViewport(0, 0, control_->width(), control_->height());
float left = 0.0f;
float right = float(width());