TINYGL: Switch profiling to runtime condition

This commit is contained in:
Paweł Kołodziejski 2022-06-05 23:40:35 +02:00
parent 7d7251acf8
commit ffe7bee81e
No known key found for this signature in database
GPG key ID: 0BDADC9E74440FF7
3 changed files with 12 additions and 17 deletions

View file

@ -267,6 +267,7 @@ void GLContext::init(int screenW, int screenH, Graphics::PixelFormat pixelFormat
_drawCallAllocator[0].initialize(kDrawCallMemory);
_drawCallAllocator[1].initialize(kDrawCallMemory);
_debugRectsEnabled = false;
_profilingEnabled = false;
TinyGL::Internal::tglBlitResetScissorRect();
}