Skip to content

Commit

Permalink
Load PBR demo helmet in shared executor and display loading message
Browse files Browse the repository at this point in the history
  • Loading branch information
borodust committed Aug 9, 2018
1 parent 337fb78 commit cf96a90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions graphics/packages.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(:export graphics-system
graphics
for-graphics
for-shared-graphics

defshader
defpipeline
Expand Down
5 changes: 5 additions & 0 deletions graphics/system.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
,@body))


(defmacro for-shared-graphics ((&optional arg) &body body)
`(-> (graphics) :main-p nil (,@(when arg (list arg)))
,@body))


(defmethod enabling-flow ((this graphics-system))
(with-slots (resource-executor) this
(>> (call-next-method)
Expand Down

0 comments on commit cf96a90

Please sign in to comment.