Map shader base, add memory util.
This commit is contained in:
@ -8,10 +8,12 @@
|
||||
#include "overworld/overworld.h"
|
||||
#include "display/quad.h"
|
||||
#include "display/shader/entityshader/entityshader.h"
|
||||
#include "display/shader/mapshader/mapshader.h"
|
||||
|
||||
void overworldRender() {
|
||||
entityShaderUse();
|
||||
mapShaderUse();
|
||||
quadRender(OVERWORLD.mapWidth * OVERWORLD.mapHeight);
|
||||
|
||||
// Set entity data.
|
||||
quadRender(1);
|
||||
// entityShaderUse();
|
||||
// quadRender(OVERWORLD.entityCount);
|
||||
}
|
Reference in New Issue
Block a user