From f64795dc9de3e527a4f70f3997871d4362b99d21 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 18 Nov 2022 10:10:08 -0800 Subject: [PATCH] opengl: culling is not necessary --- src/renderer/OpenGL.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/renderer/OpenGL.zig b/src/renderer/OpenGL.zig index 6da382cd3..ec368906a 100644 --- a/src/renderer/OpenGL.zig +++ b/src/renderer/OpenGL.zig @@ -354,11 +354,6 @@ pub fn windowInit(window: glfw.Window) !void { const self: OpenGL = undefined; try self.threadEnter(window); - // Culling, probably not necessary. We have to change the winding - // order since our 0,0 is top-left. - try gl.enable(gl.c.GL_CULL_FACE); - try gl.frontFace(gl.c.GL_CW); - // Blending for text try gl.enable(gl.c.GL_BLEND); try gl.blendFunc(gl.c.GL_SRC_ALPHA, gl.c.GL_ONE_MINUS_SRC_ALPHA);