Wrap IBO index type into one definition
Makes it easier to switch between types (eg. 32 -> 16 bit).
This commit is contained in:
parent
295e0e5b15
commit
caae9c5689
4 changed files with 18 additions and 11 deletions
|
|
@ -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 *)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue