openbsd-ports/graphics/glew/patches/patch-include_GL_glew_h
sthen 96da4e2934 import graphics/glew:
The goal of the OpenGL Extension Wrangler Library (GLEW) is to assist
C/C++ OpenGL developers with two tedious tasks: initializing and using
extensions and writing portable applications. GLEW provides an efficient
run-time mechanism to determine whether a certain extension is supported
by the driver or not. OpenGL core and extension functionality is exposed
via a single header file.
2009-04-13 23:24:01 +00:00

12 lines
377 B
Plaintext

$OpenBSD: patch-include_GL_glew_h,v 1.1.1.1 2009/04/13 23:24:01 sthen Exp $
--- include/GL/glew.h.orig Sun Apr 12 23:12:58 2009
+++ include/GL/glew.h Sun Apr 12 23:14:00 2009
@@ -12244,6 +12244,7 @@ GLEWAPI const GLubyte* glewGetString (GLenum name);
#undef GLEW_APIENTRY_DEFINED
#undef APIENTRY
#undef GLAPIENTRY
+#define GLAPIENTRY
#endif
#ifdef GLEW_CALLBACK_DEFINED