projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7abc78a
)
GL_UNSIGNED_BYTE indexes
author
Brian
<brian.paul@tungstengraphics.com>
Mon, 15 Oct 2007 23:27:54 +0000
(17:27 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Mon, 15 Oct 2007 23:27:54 +0000
(17:27 -0600)
src/mesa/state_tracker/st_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_draw.c
b/src/mesa/state_tracker/st_draw.c
index 1806a1888baeba5ac412645fa7fc01f9221d810a..fbf7713f58d054d94a729c47bd0c37de3f3934e1 100644
(file)
--- a/
src/mesa/state_tracker/st_draw.c
+++ b/
src/mesa/state_tracker/st_draw.c
@@
-206,6
+206,9
@@
st_draw_vbo(GLcontext *ctx,
case GL_UNSIGNED_SHORT:
indexSize = 2;
break;
+ case GL_UNSIGNED_BYTE:
+ indexSize = 1;
+ break;
default:
assert(0);
}