From e68da4cd6b855259ed7b9daa43a5b3c92e0f017b Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Tue, 2 May 2017 22:56:31 +0200 Subject: [PATCH] - Fix crash in glswfb if vid_hw2d is toggled off --- src/gl/system/gl_swframebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/system/gl_swframebuffer.cpp b/src/gl/system/gl_swframebuffer.cpp index 7b9e54cfb..ca153980d 100644 --- a/src/gl/system/gl_swframebuffer.cpp +++ b/src/gl/system/gl_swframebuffer.cpp @@ -2511,7 +2511,7 @@ void OpenGLSWFrameBuffer::DoClear(int left, int top, int right, int bottom, int { if (In2D < 2) { - Super::Clear(left, top, right, bottom, palcolor, color); + Super::DoClear(left, top, right, bottom, palcolor, color); return; } if (!InScene)