From bf2cb00e2ef19e2eb33557f900405f836ebe65a3 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Tue, 12 May 2020 08:24:00 +0200 Subject: [PATCH] end-scene --- irrlicht.scm | 1 + irrlicht/video.scm | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- 2.39.5