Messing around with when to do glGen, solving a memory leak because of that, and rewriting Scene::spawn to use the instancing stuff.
This commit is contained in:
parent
a199d41890
commit
6ffc6cb4ca
9 changed files with 23 additions and 31 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#define INSTANCE_COUNT 100
|
||||
#define INSTANCE_COUNT 5
|
||||
|
||||
const unsigned int SCR_WIDTH = 1792;
|
||||
const unsigned int SCR_HEIGHT = 1008;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue