pkgsrc/games/quake/patches/patch-ab
2009-08-29 19:26:01 +00:00

13 lines
472 B
Text

$NetBSD: patch-ab,v 1.5 2009/08/29 19:26:01 wiz Exp $
--- QW/client/gl_draw.c.orig 1999-12-21 15:46:06.000000000 +0000
+++ QW/client/gl_draw.c
@@ -1367,7 +1367,7 @@ void GL_SelectTexture (GLenum target)
{
if (!gl_mtexable)
return;
-#ifndef __linux__ // no multitexture under Linux yet
+#if !defined(__linux__) && !defined(__NetBSD__) && !defined(__DragonFly__) // no multitexture under Linux yet
qglSelectTextureSGIS(target);
#endif
if (target == oldtarget)