summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-07-06 18:22:29 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-25 19:33:07 -0400
commit4ca8761e394404d0c02349c47e4ede27ea5a48d1 (patch)
treeaa8bdadf04ca00be70af9d6a5d1dca2b1553d9d6
parent19b3264b5d746b123b178881053e62f80c7b1b23 (diff)
Enable OpenGL scissor test.
* sly/window.scm (open-window): Enable GL scissor test.
-rw-r--r--sly/window.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/sly/window.scm b/sly/window.scm
index aa3653a..802132f 100644
--- a/sly/window.scm
+++ b/sly/window.scm
@@ -108,6 +108,7 @@
(gl-enable (enable-cap blend))
(gl-enable (enable-cap cull-face))
(gl-enable (enable-cap depth-test))
+ (gl-enable (enable-cap scissor-test))
(set-gl-blend-function (blending-factor-src src-alpha)
(blending-factor-dest one-minus-src-alpha))))