Remove unused shader code
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ renderShadows cam cfig shadrendertype nWalls nSils nCaps positiontexture normalt
|
||||
glDisable GL_CULL_FACE
|
||||
-- the first bit has been used to stencil out "ceilings" under which we never draw
|
||||
glStencilFunc GL_NOTEQUAL 128 255
|
||||
glBindVertexArray $ pdata ^. dummyVAO . vaoName
|
||||
glBindVertexArray $ pdata ^. dummyVAO
|
||||
--draw wall shadows
|
||||
glUseProgram shadwall
|
||||
glDrawArrays GL_TRIANGLES 0 (nWalls * 18)
|
||||
|
||||
Reference in New Issue
Block a user