Fixed some rendering bugs and some code refactoring
This commit is contained in:
@@ -9,9 +9,7 @@ DrawScreenQuadPassState::DrawScreenQuadPassState()
|
||||
Disable(GL_DEPTH_TEST);
|
||||
Disable(GL_CULL_FACE);
|
||||
Disable(GL_BLEND);
|
||||
glClearColor(0.f, 0.f, 0.f, 1.f);
|
||||
// ClearColor(glm::vec4(255.f / 255, 163.f / 255, 176.f / 255, 0.f));
|
||||
Clear(GL_COLOR_BUFFER_BIT);
|
||||
ClearColor(glm::vec4(0.f));
|
||||
}
|
||||
|
||||
DrawScreenQuadPassState::~DrawScreenQuadPassState()
|
||||
|
||||
Reference in New Issue
Block a user