#:use-module (ice-9 match)
#:use-module (system foreign)
#:use-module ((irrlicht bindings) #:prefix ffi:)
- #:use-module ((irrlicht bindings core) #:prefix ffi-core:)
#:use-module ((irrlicht bindings video) #:prefix ffi-video:)
#:use-module (irrlicht util)
#:export (create-device
('direct3d9 ffi-video:EDT_DIRECT3D9)
('opengl ffi-video:EDT_OPENGL)
('count ffi-video:EDT_COUNT)))
- (wsize (make-c-struct ffi-core:dimension2d window-size)))
+ (wsize (foreign-record-pointer window-size)))
(let ((device (ffi:create-device driver wsize bits
(bool->integer fullscreen)
(bool->integer stencilbuffer)