slackbuilds_ponce/graphics/LDView/LDView_GL.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

11 lines
504 B
Diff

--- 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,