mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 18:56:55 +02:00
Remove gl polygon offset calls
This commit is contained in:
parent
c4dbf6dae8
commit
847eccca84
1 changed files with 0 additions and 4 deletions
|
@ -750,10 +750,6 @@ void Avatar::renderDisplayName(RenderArgs* renderArgs) {
|
||||||
top += border;
|
top += border;
|
||||||
right += border;
|
right += border;
|
||||||
|
|
||||||
// We are drawing coplanar textures with depth: need the polygon offset
|
|
||||||
//glEnable(GL_POLYGON_OFFSET_FILL);
|
|
||||||
//glPolygonOffset(1.0f, 1.0f);
|
|
||||||
|
|
||||||
auto backgroundTransform = textTransform;
|
auto backgroundTransform = textTransform;
|
||||||
backgroundTransform.postTranslate(glm::vec3(0.0f, 0.0f, -0.001f));
|
backgroundTransform.postTranslate(glm::vec3(0.0f, 0.0f, -0.001f));
|
||||||
batch->setModelTransform(backgroundTransform);
|
batch->setModelTransform(backgroundTransform);
|
||||||
|
|
Loading…
Reference in a new issue