From 86b207e389bfee9e1f431212124150e742111570 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Sat, 19 Jul 2014 09:31:39 +0200 Subject: [PATCH] Actually switch to 16 bit index buffers --- src/global-ibo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/global-ibo.h b/src/global-ibo.h index e1d6e1f..77ff555 100644 --- a/src/global-ibo.h +++ b/src/global-ibo.h @@ -29,9 +29,9 @@ #include #include -typedef uint32_t index_t; +typedef uint16_t index_t; #define INDEX_T_MAX std::numeric_limits::max() -#define _GL_INDEX_TYPE GL_UNSIGNED_INT +#define _GL_INDEX_TYPE GL_UNSIGNED_SHORT struct GlobalIBO {