openbsd-ports/graphics/blender/patches/patch-source_blender_src_drawmesh_c
2006-07-26 06:45:27 +00:00

13 lines
761 B
Plaintext

$OpenBSD: patch-source_blender_src_drawmesh_c,v 1.1 2006/07/26 06:45:27 steven Exp $
--- source/blender/src/drawmesh.c.orig Sat Jul 22 19:47:01 2006
+++ source/blender/src/drawmesh.c Sat Jul 22 19:47:44 2006
@@ -85,7 +85,7 @@
//#include "glext.h"
/* some local functions */
-#if defined(GL_EXT_texture_object) && (!defined(__sun__) || (!defined(__sun))) && !defined(__APPLE__) && !defined(__linux__) && !defined(WIN32)
+#if defined(GL_EXT_texture_object) && (!defined(__sun__) || (!defined(__sun))) && !defined(__APPLE__) && !defined(__linux__) && !defined(WIN32) && !defined(__OpenBSD__)
#define glBindTexture(A,B) glBindTextureEXT(A,B)
#define glGenTextures(A,B) glGenTexturesEXT(A,B)
#define glDeleteTextures(A,B) glDeleteTexturesEXT(A,B)