summaryrefslogtreecommitdiff
path: root/graphics/LDView/LDView_GL.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/LDView/LDView_GL.patch')
-rw-r--r--graphics/LDView/LDView_GL.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/LDView/LDView_GL.patch b/graphics/LDView/LDView_GL.patch
new file mode 100644
index 0000000000..355d5ef04c
--- /dev/null
+++ b/graphics/LDView/LDView_GL.patch
@@ -0,0 +1,11 @@
+--- LDView-4.1/TRE/TREGLExtensions.cpp 2008-10-25 23:33:34.000000000 -0200
++++ LDView-4.1_patched/TRE/TREGLExtensions.cpp 2013-11-20 22:34:37.069129226 -0200
+@@ -193,7 +193,7 @@
+ // the function pointers won't be loaded.
+ if (haveVARExtension(true))
+ {
+-#ifndef __APPLE__
++#ifdef WIN32
+ // NOTE: I should really change the __APPLE__ path to do their
+ // equivalent of wglGetProcAddress. However, since this extension won't
+ // work anyway without a bunch of glX stuff that I'm not going to do,