From 61ec6e29248ab7df2fad58064ffb0fa0cbbd4c40 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 22 Oct 2014 10:59:17 +0200 Subject: [PATCH] + fix problem with disappearing content of image view --- src/Mod/Image/Gui/GLImageBox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Image/Gui/GLImageBox.cpp b/src/Mod/Image/Gui/GLImageBox.cpp index e29c400cf..a8aa492d7 100644 --- a/src/Mod/Image/Gui/GLImageBox.cpp +++ b/src/Mod/Image/Gui/GLImageBox.cpp @@ -116,6 +116,7 @@ void GLImageBox::paintGL() // clear background (in back buffer) glDrawBuffer(GL_BACK); glClear(GL_COLOR_BUFFER_BIT); + glDisable(GL_DEPTH_TEST); // Draw the image drawImage();