summaryrefslogtreecommitdiff
path: root/games/quake/patches/patch-ab
blob: af5e17d6c17ce91a6f36957606d16de2c70572e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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)