Skip to content

Commit

Permalink
Remove unused passes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Apr 5, 2024
1 parent ff9894a commit 7c368d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pipeline.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@
;; and fbos to reduce the amount of unnecessary allocation. This is separate
;; from the previous issue as the scenes typically have separate pipelines.
(clear-pipeline pipeline)
(loop for pass across (passes pipeline)
do (unless (find pass passes)
(leave pass pipeline)))
(setf (passes pipeline) (coerce passes 'vector))
(setf (textures pipeline) textures)
(setf (texspecs pipeline) texspecs)))
Expand Down

0 comments on commit 7c368d8

Please sign in to comment.