mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-30 22:54:35 +00:00
Optimizations
This solves an FPS problem when 10 or more entities take damage
This commit is contained in:
@@ -146,8 +146,8 @@ void EntityRenderer::renderFlame(shared_ptr<Entity> e, double x, double y, doubl
|
||||
t->end();
|
||||
glPopMatrix();
|
||||
glEnable(GL_LIGHTING);
|
||||
|
||||
}
|
||||
|
||||
void EntityRenderer::renderShadow(shared_ptr<Entity> e, double x, double y, double z, float pow, float a)
|
||||
{
|
||||
glDisable(GL_LIGHTING);
|
||||
|
||||
Reference in New Issue
Block a user