#:use-module ((irrlicht bindings) #:prefix ffi:)
#:use-module ((irrlicht bindings core) #:prefix ffi-core:)
#:use-module ((irrlicht bindings video) #:prefix ffi-video:)
- #:export (create-device))
+ #:export (create-device
+ get-video-driver))
(define* (create-device #:optional
(device-type 'software)
(if fullscreen 1 0)
(if stencilbuffer 1 0)
(if vsync 1 0))))
+
+(define (get-video-driver device)
+ (ffi:get-video-driver device))