Skip to content

Commit a86a04f

Browse files
fixes #187 (#222)
1 parent 9f8ff0d commit a86a04f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/harness/renderers/gl/gl_renderer.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ void GLRenderer_Init(int width, int height, int pRender_width, int pRender_heigh
215215
LoadShaders();
216216
SetupFullScreenRectGeometry();
217217

218-
// opengl config
218+
// config
219219
glDisable(GL_BLEND);
220-
// glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
221220
glDepthFunc(GL_LESS);
222221
glClearColor(0, 0, 0, 1.0f);
223222
glClear(GL_COLOR_BUFFER_BIT);
224-
glDisable(GL_CULL_FACE);
223+
glEnable(GL_CULL_FACE);
224+
glCullFace(GL_BACK);
225225

226226
// textures
227227
glGenTextures(1, &screen_texture);

0 commit comments

Comments
 (0)