Skip to content
Permalink
Browse files

Clean up bogus register methods for containers

  • Loading branch information...
Shinmera committed Jun 25, 2019
1 parent b3c0e96 commit e92c2fbcb3ba6dce63f08010caf44a57fdf952b6
Showing with 0 additions and 8 deletions.
  1. +0 −4 flare.lisp
  2. +0 −4 shader-pass.lisp
@@ -21,7 +21,3 @@
(with-pushed-matrix ()
(translate vec)
(funcall func)))

(defmethod register-object-for-pass (pass (container container))
(for:for ((object over container))
(register-object-for-pass pass object)))
@@ -191,10 +191,6 @@

(defmethod register-object-for-pass ((pass per-object-pass) o))

(defmethod register-object-for-pass ((pass per-object-pass) (container container))
(for:for ((object over container))
(register-object-for-pass pass object)))

(defmethod register-object-for-pass ((pass per-object-pass) (class shader-entity-class))
(let ((effective-class (effective-shader-class class)))
(unless (gethash effective-class (assets pass))

0 comments on commit e92c2fb

Please sign in to comment.
You can’t perform that action at this time.