I'm having a problem with (load-image) in the latest svn version
The (load-image (source vector)) method seems to be grabbing strings too.
I tried setting the first load-image to (filename string) and that worked
fine with both strings and pathnames
heres the svn diff:
Index: image.lisp
===================================================================
--- image.lisp (revision 716)
+++ image.lisp (working copy)
@@ -1,7 +1,7 @@
(in-package #:lispbuilder-sdl)
-(defmethod load-image (filename &key key-color surface-alpha image-type
force free (key-color-at nil))
+(defmethod load-image ((filename string) &key key-color surface-alpha
image-type force free (key-color-at nil))
(declare (ignore image-type force free))
(let ((surf (make-instance 'surface
:surface (sdl-base::load-image (namestring filename))
hope this helps, I really like lispbuilder-sdl and I'd love to contribute!
--
-Nate
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder