diff options
author | Brian Paul <[email protected]> | 2004-09-13 19:58:27 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-09-13 19:58:27 +0000 |
commit | c3912b66abb23ce2db00723a4cb79ac84ae4a086 (patch) | |
tree | a0a36e5dda38ea87d56d32c7229810d5321b9ec0 /src/mesa/main/glheader.h | |
parent | 4ef9ad22ae07b861e7f7ec6448ed589b14ac15d8 (diff) |
Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().
Define 2.0 point-sprite related tokens in glheader.h (temporary).
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r-- | src/mesa/main/glheader.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index c548ed70800..025b3a5857d 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -20,7 +20,7 @@ /* * Mesa 3-D graphics library - * Version: 6.1 + * Version: 6.2 * * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. * @@ -213,24 +213,14 @@ typedef struct tagPIXELFORMATDESCRIPTOR PIXELFORMATDESCRIPTOR, *PPIXELFORMATDESC #include <GL/internal/glcore.h> -/* XXX temporary hack */ -#ifndef GL_PIXEL_PACK_BUFFER_EXT -#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF -#endif - - -/* XXX temporary hack */ +/* XXX temporary hack - remove when glext.h is updated */ #ifndef GL_ARB_half_float_pixel #define GL_ARB_half_float_pixel 1 #define GL_HALF_FLOAT_ARB 0x140B typedef GLushort GLhalfARB; #endif - -/* XXX temporary hack */ +/* XXX temporary hack - remove when glext.h is updated */ #ifndef GL_ARB_texture_float #define GL_ARB_texture_float 1 #define GL_TEXTURE_RED_TYPE_ARB 0x9000 @@ -255,6 +245,12 @@ typedef GLushort GLhalfARB; #define GL_LUMINANCE_ALPHA16F_ARB 0x881F #endif +/* XXX temporary hack - remove when glext.h is updated */ +#ifndef GL_POINT_SPRITE_COORD_ORIGIN +#define GL_POINT_SPRITE_COORD_ORIGIN 0x10000 +#define GL_LOWER_LEFT 0x10001 +#define GL_UPPER_LEFT 0x10002 +#endif |