summaryrefslogtreecommitdiff
path: root/indra/newview/llmodelpreview.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-12-02 02:28:29 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-12-02 02:28:29 +0200
commit1cd1d3fbe2a5aae2e5736bb62c1b4aa413eba7fb (patch)
tree02f132da942096cee5e66009c687815db0474df4 /indra/newview/llmodelpreview.cpp
parent7929230c045f2daf6de53e880f3d716044b96792 (diff)
SL-16420 Upload's physics LODs are broken in preview #2
Diffstat (limited to 'indra/newview/llmodelpreview.cpp')
-rw-r--r--indra/newview/llmodelpreview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index 1ce15e04da..e22a04006e 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -3204,6 +3204,7 @@ BOOL LLModelPreview::render()
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glLineWidth(1.f);
}
+ buffer->flush();
}
gGL.popMatrix();
}
@@ -3316,6 +3317,8 @@ BOOL LLModelPreview::render()
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glLineWidth(1.f);
+
+ buffer->flush();
}
}
}
@@ -3386,6 +3389,8 @@ BOOL LLModelPreview::render()
buffer->draw(LLRender::POINTS, 3, i);
}
}
+
+ buffer->flush();
}
}
}