[ClientChunk] Small fix.
This commit is contained in:
parent
33cb40fccd
commit
0f05a11bc3
@ -29,11 +29,7 @@ void ClientChunk::drawLayer(gk::RenderTarget &target, gk::RenderStates states, u
|
||||
|
||||
states.texture = &m_textureAtlas.texture();
|
||||
|
||||
if (layer == ChunkBuilder::Layer::Other)
|
||||
glCheck(glDisable(GL_CULL_FACE));
|
||||
else
|
||||
glCheck(glEnable(GL_CULL_FACE));
|
||||
|
||||
glCheck(glEnable(GL_CULL_FACE));
|
||||
glCheck(glEnable(GL_DEPTH_TEST));
|
||||
|
||||
if(Config::isWireframeModeEnabled) glCheck(glPolygonMode(GL_FRONT_AND_BACK, GL_LINE));
|
||||
|
Loading…
x
Reference in New Issue
Block a user