From 99a370a92f8eb75023e957f64e17430db4c44159 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 28 Jun 2014 16:21:33 -0400 Subject: Enable GL face culling and depth test. * 2d/window.scm (open-window): Enable cull-face and depth-test. --- sly/window.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sly/window.scm b/sly/window.scm index 31ec703..934ef5f 100644 --- a/sly/window.scm +++ b/sly/window.scm @@ -104,6 +104,8 @@ ;; Enable texturing and alpha blending (gl-enable (enable-cap texture-2d)) (gl-enable (enable-cap blend)) + (gl-enable (enable-cap cull-face)) + (gl-enable (enable-cap depth-test)) (set-gl-blend-function (blending-factor-src src-alpha) (blending-factor-dest one-minus-src-alpha)))) -- cgit v1.2.3