summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-05-22 16:22:47 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-05-22 16:22:47 +0000
commit0890ed3148ca1a6377f8124eb030a4ed3680c94b (patch)
tree04d10dd1bf0cc8b137199950e77932d62bf267ff /include
parent08f0374bfaccc41a497f18a6535fa0d13277abde (diff)
include glext.h if GL_GLEXT_LEGACY not defined
Diffstat (limited to 'include')
-rw-r--r--include/GL/gl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index d9c86304a1..9ade786afd 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -1,4 +1,4 @@
-/* $Id: gl.h,v 1.39 2000/05/22 16:21:27 brianp Exp $ */
+/* $Id: gl.h,v 1.40 2000/05/22 16:22:47 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1722,6 +1722,7 @@ GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format,
GLenum type, GLvoid *row, GLvoid *column, GLvoid *span );
+#if defined(GL_GLEXT_LEGACY)
/*
@@ -2223,6 +2224,13 @@ GLAPI void GLAPIENTRY glResizeBuffersMESA( void );
#endif /* GL_MESA_resize_bufffers */
+#else /* GL_GLEXT_LEGACY */
+
+#include "glext.h"
+
+#endif /* GL_GLEXT_LEGACY */
+
+
/**********************************************************************
* Begin system-specific stuff