GL_UNSIGNED_BYTE indexes
authorBrian <brian.paul@tungstengraphics.com>
Mon, 15 Oct 2007 23:27:54 +0000 (17:27 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 15 Oct 2007 23:27:54 +0000 (17:27 -0600)
src/mesa/state_tracker/st_draw.c

index 1806a1888baeba5ac412645fa7fc01f9221d810a..fbf7713f58d054d94a729c47bd0c37de3f3934e1 100644 (file)
@@ -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);
       }