#:use-module (system foreign)
#:use-module ((irrlicht bindings) #:prefix ffi:)
#:use-module ((irrlicht bindings video) #:prefix ffi-video:)
#:use-module (system foreign)
#:use-module ((irrlicht bindings) #:prefix ffi:)
#:use-module ((irrlicht bindings video) #:prefix ffi-video:)
('direct3d8 ffi-video:EDT_DIRECT3D8)
('direct3d9 ffi-video:EDT_DIRECT3D9)
('opengl ffi-video:EDT_OPENGL)
('direct3d8 ffi-video:EDT_DIRECT3D8)
('direct3d9 ffi-video:EDT_DIRECT3D9)
('opengl ffi-video:EDT_OPENGL)
- ('count ffi-video:EDT_COUNT)))
- (wsize (foreign-record-pointer window-size)))
- (let ((device (ffi:create-device driver wsize bits
+ ('count ffi-video:EDT_COUNT))))
+ (let ((device (ffi:create-device driver
+ (foreign-record->pointer window-size)
+ bits