From: Javier Sancho Date: Tue, 12 May 2020 06:24:00 +0000 (+0200) Subject: end-scene X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=bf2cb00e2ef19e2eb33557f900405f836ebe65a3;p=guile-irrlicht.git end-scene --- diff --git a/irrlicht.scm b/irrlicht.scm index 45f3fc2..640b7f5 100644 --- a/irrlicht.scm +++ b/irrlicht.scm @@ -31,6 +31,7 @@ add-static-text! begin-scene create-device + end-scene get-gui-environment get-mesh get-scene-manager diff --git a/irrlicht/video.scm b/irrlicht/video.scm index 0d0b37f..53b28a6 100644 --- a/irrlicht/video.scm +++ b/irrlicht/video.scm @@ -51,6 +51,10 @@ video-data source-rect))) +(define-method (end-scene (video-driver )) + ((get-irrlicht-proc "endScene" video-driver) + (irr-pointer video-driver))) + (define-method (get-texture (video-driver ) filename) (make #:irr-pointer @@ -58,4 +62,4 @@ (irr-pointer video-driver) filename))) -(export begin-scene get-texture) +(export begin-scene end-scene get-texture)