Actually switch to 16 bit index buffers

This commit is contained in:
Jonas Kulla 2014-07-19 09:31:39 +02:00
parent 5640c3d04b
commit 86b207e389
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@
#include <assert.h>
#include <stdint.h>
typedef uint32_t index_t;
typedef uint16_t index_t;
#define INDEX_T_MAX std::numeric_limits<index_t>::max()
#define _GL_INDEX_TYPE GL_UNSIGNED_INT
#define _GL_INDEX_TYPE GL_UNSIGNED_SHORT
struct GlobalIBO
{