TINYGL: Initialise _enableScissor for case when dirty rects are off.
This commit is contained in:
parent
42623e13a7
commit
ce97902769
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ FrameBuffer::FrameBuffer(int width, int height, const Graphics::PixelFormat &for
|
|||
_offscreenBuffer.zbuf = _zbuf;
|
||||
|
||||
_currentTexture = nullptr;
|
||||
|
||||
_enableScissor = false;
|
||||
}
|
||||
|
||||
FrameBuffer::~FrameBuffer() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue