- implement stat gpu on vulkan and fix it on opengl

This commit is contained in:
Magnus Norddahl 2019-04-30 22:55:35 +02:00
commit 81e32ecc72
12 changed files with 176 additions and 19 deletions

View file

@ -445,10 +445,8 @@ void OpenGLFrameBuffer::Draw2D()
{
if (GLRenderer != nullptr)
{
FGLDebug::PushGroup("Draw2D");
GLRenderer->mBuffers->BindCurrentFB();
::Draw2D(&m2DDrawer, gl_RenderState);
FGLDebug::PopGroup();
}
}