Actually switch to 16 bit index buffers
This commit is contained in:
		
							parent
							
								
									5640c3d04b
								
							
						
					
					
						commit
						86b207e389
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue