- Fix crash in glswfb if vid_hw2d is toggled off

This commit is contained in:
Magnus Norddahl 2017-05-02 22:56:31 +02:00
parent c8070c65d4
commit e68da4cd6b

View file

@ -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)