TINYGL: Switch profiling to runtime condition
This commit is contained in:
parent
7d7251acf8
commit
ffe7bee81e
3 changed files with 12 additions and 17 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue