(set! h/2 (/ (sdl2:surface-height image) 2)))
(gl-enable (oes-framebuffer-object texture-2d))
(sdl2:bind-texture texture)
+ (gl-enable (oes-framebuffer-object blend))
+ (set-gl-blend-function (blending-factor-src src-alpha)
+ (blending-factor-dest one-minus-src-alpha))
(gl-begin (begin-mode quads)
(gl-texture-coordinates 0 0)
(gl-vertex (- w/2) h/2 0)
(gl-vertex w/2 (- h/2) 0)
(gl-texture-coordinates 0 1)
(gl-vertex (- w/2) (- h/2) 0))
+ (gl-disable (oes-framebuffer-object blend))
(gl-disable (oes-framebuffer-object texture-2d))))))
(define* (move scene x y #:optional (z 0))