summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
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);
}