summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-15 17:27:54 -0600
committerBrian <[email protected]>2007-10-15 17:27:54 -0600
commitb2605d5f803f51f216fd815374b59dfc616f7e13 (patch)
treef669c0fc933a151d638ea81753c25c7b0ee3277c /src/mesa
parent7abc78a9678cf09e7a39869549ed369802c43d58 (diff)
GL_UNSIGNED_BYTE indexes
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_draw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c
index 1806a1888ba..fbf7713f58d 100644
--- 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);
}