diff options
Diffstat (limited to '2d/texture.scm')
-rw-r--r-- | 2d/texture.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2d/texture.scm b/2d/texture.scm index b4b28a6..4259bda 100644 --- a/2d/texture.scm +++ b/2d/texture.scm @@ -104,7 +104,7 @@ Currently only works with RGBA format surfaces." (let ((x2 (+ x w)) (y2 (+ y h))) (with-gl-bind-texture (texture-target texture-2d) (texture-id texture) - (gl-begin (primitive-type quads) + (gl-begin (begin-mode quads) (apply gl-color color) (gl-texture-coordinates u v) (gl-vertex x y) |