;;; Resources Manager
(defstruct resource plist free-function time)
-(defstruct texture filename min-filter mag-filter)
+
+(defun make-texture (&key filename min-filter mag-filter)
+ `(:type texture :filename ,filename :min-filter ,min-filter :mag-filter ,mag-filter))
(let ((resources-table (make-hash-table :test 'equal)))