From: Brian Date: Mon, 15 Oct 2007 23:27:54 +0000 (-0600) Subject: GL_UNSIGNED_BYTE indexes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2605d5f803f51f216fd815374b59dfc616f7e13;p=mesa.git GL_UNSIGNED_BYTE indexes --- 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); }