]> git.jsancho.org Git - guile-irrlicht.git/commitdiff
end-scene
authorJavier Sancho <jsf@jsancho.org>
Tue, 12 May 2020 06:24:00 +0000 (08:24 +0200)
committerJavier Sancho <jsf@jsancho.org>
Tue, 12 May 2020 06:24:00 +0000 (08:24 +0200)
irrlicht.scm
irrlicht/video.scm

index 45f3fc2fd6e690c0ea429a6830029d94d5d3af85..640b7f5f0e07e6c23e9e59753ada425c1485cca7 100644 (file)
@@ -31,6 +31,7 @@
                add-static-text!
                begin-scene
                create-device
+               end-scene
                get-gui-environment
                get-mesh
                get-scene-manager
index 0d0b37fc1bba3adf49f67c596a3621370c4c311f..53b28a62074cd2fe8826b1a7b4b9b2aaed6ba379 100644 (file)
      video-data
      source-rect)))
 
+(define-method (end-scene (video-driver <video-driver>))
+  ((get-irrlicht-proc "endScene" video-driver)
+   (irr-pointer video-driver)))
+
 (define-method (get-texture (video-driver <video-driver>) filename)
   (make <texture>
     #:irr-pointer
@@ -58,4 +62,4 @@
      (irr-pointer video-driver)
      filename)))
 
-(export <video-driver> begin-scene get-texture)
+(export <video-driver> begin-scene end-scene get-texture)