From 653a31563109deefcb15b9e19af0715b6f944553 Mon Sep 17 00:00:00 2001 From: bloeys Date: Thu, 20 Oct 2022 01:28:06 +0400 Subject: [PATCH] Remove some old code --- main.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/main.go b/main.go index d890606..150244f 100755 --- a/main.go +++ b/main.go @@ -352,15 +352,6 @@ func (g *OurGame) Render() { func (g *OurGame) DrawSkybox() { - // glDepthMask(GL_FALSE); - // skyboxShader.use(); - // // ... set view and projection matrix - // glBindVertexArray(skyboxVAO); - // glBindTexture(GL_TEXTURE_CUBE_MAP, cubemapTexture); - // glDrawArrays(GL_TRIANGLES, 0, 36); - // glDepthMask(GL_TRUE); - // // ... draw rest of the scene - gl.Disable(gl.CULL_FACE) gl.DepthFunc(gl.LEQUAL) skyboxMesh.Buf.Bind()