From ba913fcb34eb504d492550a8af73371d646585d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Pe=C3=B1aranda?= Date: Fri, 6 Sep 2013 15:36:31 -0300 Subject: [PATCH] bugfix: compute scale on gl initialization --- openglcanvas.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/openglcanvas.cpp b/openglcanvas.cpp index 16a2b48..a2326e1 100644 --- a/openglcanvas.cpp +++ b/openglcanvas.cpp @@ -290,6 +290,7 @@ void OpenGLCanvas::initializeGL(){ #endif // MSC_VER read_config_file(); + compute_scale(); // If the input file does not exist or was not specified. struct stat testbuf; if(stat(input_image_file,&testbuf)||!strcmp(input_image_file,"")){ -- GitLab