Optimizations

This solves an FPS problem when 10 or more entities take damage
This commit is contained in:
GabsPuNs
2026-05-28 22:22:22 -04:00
parent 160044b48f
commit 8ffadc0f15
11 changed files with 230 additions and 480 deletions

View File

@@ -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);