From 2f0d35bfcebf3f2c4cb421b2171905bd29c79935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Thu, 15 Aug 2013 16:29:31 +0200 Subject: [PATCH] fixed bug causing a crash after setting the VSync option --- common/yacreader_flow_gl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/yacreader_flow_gl.cpp b/common/yacreader_flow_gl.cpp index 801af4a2..339190d0 100644 --- a/common/yacreader_flow_gl.cpp +++ b/common/yacreader_flow_gl.cpp @@ -862,7 +862,7 @@ void YACReaderFlowGL::useVSync(bool b) f.setSwapInterval(0); setFormat(f); } - reload(); + reset(); } } void YACReaderFlowGL::setShowMarks(bool value)