diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-06-28 16:21:33 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-08-25 19:33:07 -0400 |
commit | 99a370a92f8eb75023e957f64e17430db4c44159 (patch) | |
tree | 7e3a2c30d336bdd50802a7870b354683ec8868c3 | |
parent | 4313b5e68ab730b002e5c59af407b3835b2813ce (diff) |
Enable GL face culling and depth test.
* 2d/window.scm (open-window): Enable cull-face and depth-test.
-rw-r--r-- | sly/window.scm | 2 |
1 files changed, 2 insertions, 0 deletions
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)))) |