[Scummvm-git-logs] scummvm master -> ce97902769f064f1767fd960aa5abaa0b0f306d6

aquadran noreply at scummvm.org
Mon May 2 08:01:13 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ce97902769 TINYGL: Initialise _enableScissor for case when dirty rects are off.


Commit: ce97902769f064f1767fd960aa5abaa0b0f306d6
    https://github.com/scummvm/scummvm/commit/ce97902769f064f1767fd960aa5abaa0b0f306d6
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2022-05-02T10:01:08+02:00

Commit Message:
TINYGL: Initialise _enableScissor for case when dirty rects are off.

Changed paths:
    graphics/tinygl/zbuffer.cpp


diff --git a/graphics/tinygl/zbuffer.cpp b/graphics/tinygl/zbuffer.cpp
index a05f9464621..86e18ad2935 100644
--- a/graphics/tinygl/zbuffer.cpp
+++ b/graphics/tinygl/zbuffer.cpp
@@ -95,6 +95,8 @@ FrameBuffer::FrameBuffer(int width, int height, const Graphics::PixelFormat &for
 	_offscreenBuffer.zbuf = _zbuf;
 
 	_currentTexture = nullptr;
+
+	_enableScissor = false;
 }
 
 FrameBuffer::~FrameBuffer() {




More information about the Scummvm-git-logs mailing list