slackbuilds_ponce/graphics/LDView/opengl.patch
Niels Horn 5ee5750d3b graphics/LDView: Go back to version 4.1 and build correctly
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2013-11-20 19:22:19 -06:00

10 lines
353 B
Diff

--- LDView-4.1/QT/ModelViewerWidget.cpp 2009-12-01 14:27:54.000000000 -0200
+++ LDView-4.1_patched/QT/ModelViewerWidget.cpp 2010-05-25 20:15:41.000000000 -0300
@@ -403,6 +403,7 @@
if (!painting && (saving || !loading))
{
painting = true;
+ glEnable(GL_DEPTH_TEST);
if (saving)
{
if (!TREGLExtensions::haveFramebufferObjectExtension())