Wrap IBO index type into one definition

Makes it easier to switch between types (eg. 32 -> 16 bit).
This commit is contained in:
Jonas Kulla 2014-07-11 02:09:53 +02:00
parent 295e0e5b15
commit caae9c5689
4 changed files with 18 additions and 11 deletions

View file

@ -31,9 +31,6 @@
#include <stdint.h>
typedef uint32_t index_t;
#define _GL_INDEX_TYPE GL_UNSIGNED_INT
/* A small hack to get mutable QuadArray constructors */
inline void initBufferBindings(Vertex *)
{