summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2001-01-06 22:46:13 +0000
committerGareth Hughes <gareth@valinux.com>2001-01-06 22:46:13 +0000
commitba8f6172bdfb44594537a304225b54152584d701 (patch)
treefc9ad8032c50f030e7ca6a6f9388d7928b019c4d /include
parentc85164605031cd64afbc57ca5ab1331377af887b (diff)
Implementation of GL_EXT_texture_env_dot3.
Diffstat (limited to 'include')
-rw-r--r--include/GL/gl.h15
-rw-r--r--include/GL/glext.h13
2 files changed, 23 insertions, 5 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 11a16dfc92..f261a672b4 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -1,4 +1,4 @@
-/* $Id: gl.h,v 1.49 2000/12/09 20:36:18 brianp Exp $ */
+/* $Id: gl.h,v 1.50 2001/01/06 22:46:13 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -2228,6 +2228,19 @@ GLAPI void GLAPIENTRY glResizeBuffersMESA( void );
#endif /* GL_MESA_resize_bufffers */
+
+/*
+ * 220. GL_EXT_texture_env_dot3
+ */
+#ifndef GL_EXT_texture_env_dot3
+#define GL_EXT_texture_env_dot3 1
+
+#define GL_DOT3_RGB_EXT 0x8740
+#define GL_DOT3_RGBA_EXT 0x8741
+
+#endif /* GL_EXT_texture_env_dot3 */
+
+
#else /* GL_GLEXT_LEGACY */
#include <GL/glext.h>
diff --git a/include/GL/glext.h b/include/GL/glext.h
index f721a9fd70..aa69c184c2 100644
--- a/include/GL/glext.h
+++ b/include/GL/glext.h
@@ -13,21 +13,21 @@ extern "C" {
** this file except in compliance with the License. You may obtain a copy
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
-**
+**
** http://oss.sgi.com/projects/FreeB
-**
+**
** Note that, as provided in the License, the Software is distributed on an
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
-**
+**
** Original Code. The Original Code is: OpenGL Sample Implementation,
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
** Copyright in any portions created by third parties is as indicated
** elsewhere herein. All Rights Reserved.
-**
+**
** Additional Notice Provisions: This software was created using the
** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
** not been independently verified as being compliant with the OpenGL(R)
@@ -1419,6 +1419,11 @@ extern "C" {
#define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
#endif
+#ifndef GL_EXT_texture_env_dot3
+#define GL_DOT3_RGB_EXT 0x8740
+#define GL_DOT3_RGBA_EXT 0x8741
+#endif
+
/*************************************************************/