Remove unnecessary glPush/Pop

This commit is contained in:
Atlante45 2015-05-20 16:29:43 +02:00
parent eef87412fd
commit e5d0851337

View file

@ -128,7 +128,6 @@ void RenderableModelEntityItem::render(RenderArgs* args) {
bool didDraw = false;
if (drawAsModel && !highlightSimulationOwnership) {
remapTextures();
glPushMatrix();
{
float alpha = getLocalRenderAlpha();
@ -188,7 +187,6 @@ void RenderableModelEntityItem::render(RenderArgs* args) {
}
}
}
glPopMatrix();
}
if (!didDraw) {