Commit a659b92a authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Warn unknown index size

parent e0dcd1f7
......@@ -998,7 +998,9 @@ trans_translate_index_size(unsigned size)
case 1: return MALI_DRAW_INDEXED_UINT8;
case 2: return MALI_DRAW_INDEXED_UINT16;
case 4: return MALI_DRAW_INDEXED_UINT32;
default: return 0;
printf("Unknown index size %d\n", size);
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment