New features: * Licensing change (BSD, Mesa 3-D, Khronos) * Switch to using registry on www.opengl.org * Support for major and minor version strings New extensions: * GL_APPLE_flush_buffer_range * GL_GREMEDY_frame_terminator * GLX_EXT_texture_from_pixmap Bug fixes: * Incorrent 64-bit type definitions * Do not strip static library on install * Missing tokens in GL_ATI_fragment_shader and WGL_{ARB,EXT}_make_current_read * Missing tokens in GL_VERSION_2_1 * Missing functions in GL_VERSION_1_4 * Incorrect parameter type for glXCopyContext
18 lines
566 B
Text
18 lines
566 B
Text
$NetBSD: patch-ab,v 1.2 2009/08/21 15:02:32 adam Exp $
|
|
|
|
--- include/GL/glew.h.orig 2007-12-28 04:09:49.000000000 +0100
|
|
+++ include/GL/glew.h
|
|
@@ -10763,8 +10763,13 @@ GLEWAPI const GLubyte* glewGetString (GL
|
|
|
|
#ifdef GLEW_APIENTRY_DEFINED
|
|
#undef GLEW_APIENTRY_DEFINED
|
|
+/*
|
|
+Defining these, including glu.h which includes gl.h, and then undefining them
|
|
+leads to them staying undefined, as even if the app later includes gl.h it
|
|
+will leave them alone due to multiple include protection
|
|
#undef APIENTRY
|
|
#undef GLAPIENTRY
|
|
+*/
|
|
#endif
|
|
|
|
#ifdef GLEW_CALLBACK_DEFINED
|