projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e08557a
)
get rid of GL_BOOLEAN definition (bug 8113)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 4 Sep 2006 14:07:04 +0000
(14:07 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 4 Sep 2006 14:07:04 +0000
(14:07 +0000)
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index 51f3fb8fc55493813343816fd42bb08f0926afab..a048509e515d1c1b3fdfa186a80d6731e67669cd 100644
(file)
--- 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 );