From 45d746083c3fe3de6f6b3d8ec099d43fec85e1d8 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 28 Jul 2013 19:44:25 -0400 Subject: Fix figl enum. --- 2d/texture.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2d/texture.scm') 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) -- cgit v1.2.3