PickingPass now sets state and clear it when done.
PickingState now it's own class so renderer is a bit cleaner.
This commit is contained in:
@@ -32,7 +32,7 @@ bool RenderState::CullFace(GLenum GLCullFace)
|
||||
glGetIntegerv(GL_CULL_FACE_MODE, &a);
|
||||
if(a == GL_BACK)
|
||||
{
|
||||
LOG_INFO("Setting Cullface to back, unessesary since this is already default.");
|
||||
//LOG_INFO("Setting Cullface to back, unessesary since this is already default.");
|
||||
}
|
||||
m_preCullFace = a;
|
||||
glCullFace(GLCullFace);
|
||||
|
||||
Reference in New Issue
Block a user