TINYGL: Added a way to disable or enable dirty rectangles at runtime.
This commit is contained in:
parent
e1aea3a1f3
commit
974f47fa42
5 changed files with 67 additions and 30 deletions
|
@ -224,6 +224,7 @@ void glInit(void *zbuffer1, int textureSize) {
|
|||
c->_currentAllocatorIndex = 0;
|
||||
c->_drawCallAllocator[0].initialize(kDrawCallMemory);
|
||||
c->_drawCallAllocator[1].initialize(kDrawCallMemory);
|
||||
c->_enableDirtyRectangles = false;
|
||||
|
||||
Graphics::Internal::tglBlitSetScissorRect(0, 0, c->fb->xsize, c->fb->ysize);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue