diff options
author | Brian Paul <[email protected]> | 2006-09-04 14:07:04 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-09-04 14:07:04 +0000 |
commit | c78e895f09298e35474e68b23dba4c1437b851c9 (patch) | |
tree | 33bca7c59fac2af2b57965461f3fb033a4e288f0 | |
parent | e08557ad8ad165c72088d83d43c44d62e380e5de (diff) |
get rid of GL_BOOLEAN definition (bug 8113)
-rw-r--r-- | src/mesa/main/varray.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 51f3fb8fc55..a048509e515 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -34,10 +34,6 @@ #include "arrayobj.h" #include "dispatch.h" -#ifndef GL_BOOLEAN -#define GL_BOOLEAN 0x9999 -#endif - /** * Update the fields of a vertex array object. @@ -434,7 +430,7 @@ _mesa_EdgeFlagPointer(GLsizei stride, const GLvoid *ptr) } update_array(ctx, &ctx->Array.ArrayObj->EdgeFlag, _NEW_ARRAY_EDGEFLAG, - sizeof(GLboolean), 1, GL_BOOLEAN, stride, GL_FALSE, ptr); + sizeof(GLboolean), 1, GL_UNSIGNED_BYTE, stride, GL_FALSE, ptr); if (ctx->Driver.EdgeFlagPointer) ctx->Driver.EdgeFlagPointer( ctx, stride, ptr ); |