Skip to content

Commit

Permalink
Expose rendering output flushing/finishing
Browse files Browse the repository at this point in the history
  • Loading branch information
borodust committed Dec 16, 2018
1 parent 3d899f9 commit d29dfc1
Show file tree
Hide file tree
Showing 2 changed files with 5 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 @@ -48,6 +48,7 @@
configure-framebuffer

clear-rendering-output
finish-rendering-output
render
shader-source

Expand Down
4 changes: 4 additions & 0 deletions graphics/rendering.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@
:primitive primitive
input)))
(run-with-bound-output output #'%render)))


(defun finish-rendering-output ()
(gl:finish))

0 comments on commit d29dfc1

Please sign in to comment.