(defstruct resource plist free-function time)
(defstruct texture filename min-filter mag-filter)
-(let ((resources-table (make-hash-table :test 'equal)))
+(let ((resources-table (make-hash-table :test 'equalp)))
(defun set-resource (key plist free-function &key static)
(setf (gethash key resources-table)
; (init-textures)
; (init-video-mode)
(let ((key (make-texture :filename filename :min-filter min-filter :mag-filter mag-filter)))
- (cond ((get-resource key) key)
+ (cond ((get-resource key) t)
(t
(progn-textures
(multiple-value-bind