Nerfage pour version Debug/MSVC
This commit is contained in:
@@ -44,12 +44,14 @@ void Skybox::Init(float size){
|
||||
|
||||
void Skybox::Render(Transformation tran) const {
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
glDisable(GL_BLEND);
|
||||
tran.Use();
|
||||
m_texture.Bind();
|
||||
m_shader.Use();
|
||||
m_vertexBuffer.Render();
|
||||
m_shader.Disable();
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glEnable(GL_BLEND);
|
||||
}
|
||||
|
||||
Texture& Skybox::GetTexture() { return m_texture; }
|
||||
|
Reference in New Issue
Block a user