Stop pretending to support non-winding fill in the fill shader.

Possibly, if we want to reintroduce it later on, it should have its own dedicated shader, and maybe a distinct Mobject type too
This commit is contained in:
Grant Sanderson
2024-08-19 14:37:11 -05:00
parent 09d147c8ef
commit 195264f079
3 changed files with 16 additions and 43 deletions

View File

@ -372,13 +372,6 @@ class VShaderWrapper(ShaderWrapper):
if self.fill_vao is None:
return
# TODO, need a new test here...or to just kill non-winding fill?
winding = True
self.fill_program['winding'].value = winding
if not winding:
self.fill_vao.render()
return
original_fbo = self.ctx.fbo
texture_fbo, depth_texture_fbo, texture_vao = self.fill_canvas