From 1e7ea1c7ffae7df82c7013c12f08fa5b7508b9b0 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 10 Mar 2017 15:40:33 +0100 Subject: [PATCH] Fix crash HOM effect when vid_hw2d is 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 635f73fac..3197ed4a5 100644 --- a/src/gl/system/gl_swframebuffer.cpp +++ b/src/gl/system/gl_swframebuffer.cpp @@ -1075,7 +1075,7 @@ void OpenGLSWFrameBuffer::CalcFullscreenCoords(FBVERTEX verts[4], bool viewarea_ int OpenGLSWFrameBuffer::GetPageCount() { - return 1; + return 2; } //==========================================================================