diff options
Diffstat (limited to 'chickadee/graphics/viewport.scm')
-rw-r--r-- | chickadee/graphics/viewport.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chickadee/graphics/viewport.scm b/chickadee/graphics/viewport.scm index b60a585..ba3b1e9 100644 --- a/chickadee/graphics/viewport.scm +++ b/chickadee/graphics/viewport.scm @@ -39,6 +39,7 @@ viewport-clear-flags null-viewport clear-viewport + g:viewport current-viewport %default-clear-flags %default-clear-color)) @@ -124,7 +125,7 @@ area, and set the clear color.." (gl-scissor x y w h) (gl-clear-color (color-r c) (color-g c) (color-b c) (color-a c))))) -(define-graphics-state viewport +(define-graphics-state g:viewport current-viewport #:default null-viewport #:bind bind-viewport) |