summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-07-26 12:09:47 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-11-08 21:35:34 -0500
commitd969c19756227899b39967989fa971fa3452e872 (patch)
treef8c931251c19b44c803485da99d8d723ffe6cba2 /examples
parentd72594e33b256435c71d268b233b26beb5d12423 (diff)
Rewrite GPU state management layer.
Diffstat (limited to 'examples')
-rw-r--r--examples/sprite.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/sprite.scm b/examples/sprite.scm
index eb79161..24b7a24 100644
--- a/examples/sprite.scm
+++ b/examples/sprite.scm
@@ -3,9 +3,12 @@
(chickadee graphics sprite)
(chickadee graphics texture))
+(use-modules (gl enums))
+
(define sprite #f)
(define (load)
+ (pk (blending-factor-src 2))
(set! sprite (load-image "images/chickadee.png")))
(define (draw alpha)