summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-08-16 17:09:32 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-08-16 17:10:50 -0400
commitd6d8ead4e73b02f2485fadc8fab1482986b8f0e8 (patch)
tree71b7f48572aeb7571adcc27bca70ee903bdf7c11
parent9a844442e9326c0420e814941bd471739ef7c6a6 (diff)
graphics: texture: Add state for texture unit 5.
-rw-r--r--chickadee/graphics/texture.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/chickadee/graphics/texture.scm b/chickadee/graphics/texture.scm
index e1f2aef..e9a13ae 100644
--- a/chickadee/graphics/texture.scm
+++ b/chickadee/graphics/texture.scm
@@ -62,11 +62,13 @@
g:texture-2
g:texture-3
g:texture-4
+ g:texture-5
current-texture-0
current-texture-1
current-texture-2
current-texture-3
current-texture-4
+ current-texture-5
texture-atlas
list->texture-atlas
@@ -178,6 +180,11 @@
#:default null-texture
#:bind (make-bind-texture 4))
+(define-graphics-state g:texture-5
+ current-texture-5
+ #:default null-texture
+ #:bind (make-bind-texture 5))
+
(define (gl-wrap-mode mode)
(case mode
((repeat)