mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:28:03 +02:00
Removed commented lines.
This commit is contained in:
parent
646c0dc48f
commit
9515145b9b
1 changed files with 0 additions and 3 deletions
|
@ -440,14 +440,11 @@ bool Model::render(float alpha, RenderMode mode) {
|
||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
glDepthMask(false);
|
glDepthMask(false);
|
||||||
glDepthFunc(GL_LEQUAL);
|
glDepthFunc(GL_LEQUAL);
|
||||||
//glEnable(GL_POLYGON_OFFSET_FILL);
|
|
||||||
//glPolygonOffset(-1.0f, -1.0f);
|
|
||||||
|
|
||||||
Application::getInstance()->getTextureCache()->setPrimaryDrawBuffers(true);
|
Application::getInstance()->getTextureCache()->setPrimaryDrawBuffers(true);
|
||||||
|
|
||||||
renderMeshes(mode, true, 0.0f);
|
renderMeshes(mode, true, 0.0f);
|
||||||
|
|
||||||
//glDisable(GL_POLYGON_OFFSET_FILL);
|
|
||||||
glDepthMask(true);
|
glDepthMask(true);
|
||||||
glDepthFunc(GL_LESS);
|
glDepthFunc(GL_LESS);
|
||||||
glDisable(GL_CULL_FACE);
|
glDisable(GL_CULL_FACE);
|
||||||
|
|
Loading…
Reference in a new issue