aboutsummaryrefslogtreecommitdiff
path: root/graphics/LDView/opengl.patch
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-06-12 14:29:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 22:14:26 -0500
commit0b9284970cf7a776292e5f57f4fc03b181b4ffb7 (patch)
tree596230972a8c053c56bc42cdda5f316b1e819a08 /graphics/LDView/opengl.patch
parent92258817eb52b8b07bb312564c244849922236b2 (diff)
graphics/LDView: Patched to fix usage with NVidia cards
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/LDView/opengl.patch')
-rw-r--r--graphics/LDView/opengl.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/LDView/opengl.patch b/graphics/LDView/opengl.patch
new file mode 100644
index 0000000000000..53f0364a1af59
--- /dev/null
+++ b/graphics/LDView/opengl.patch
@@ -0,0 +1,10 @@
+--- 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())