mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 10:19:06 +02:00
Remove unnecessary glPush/Pop
This commit is contained in:
parent
eef87412fd
commit
e5d0851337
1 changed files with 0 additions and 2 deletions
|
@ -128,7 +128,6 @@ void RenderableModelEntityItem::render(RenderArgs* args) {
|
||||||
bool didDraw = false;
|
bool didDraw = false;
|
||||||
if (drawAsModel && !highlightSimulationOwnership) {
|
if (drawAsModel && !highlightSimulationOwnership) {
|
||||||
remapTextures();
|
remapTextures();
|
||||||
glPushMatrix();
|
|
||||||
{
|
{
|
||||||
float alpha = getLocalRenderAlpha();
|
float alpha = getLocalRenderAlpha();
|
||||||
|
|
||||||
|
@ -188,7 +187,6 @@ void RenderableModelEntityItem::render(RenderArgs* args) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
glPopMatrix();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!didDraw) {
|
if (!didDraw) {
|
||||||
|
|
Loading…
Reference in a new issue