Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. (:idle ()
  2. (sdl:with-timestep ()
  3. (do-update))
  4. ;; this lets slime keep working while the main loop is running
  5. ;; in sbcl using the :fd-handler swank:*communication-style*
  6. #+(and sbcl (not sb-thread)) (restartably
  7. (sb-sys:serve-all-events 0))
  8. (restartably
  9. (draw)
  10. (gl:flush)
  11. (sdl:update-display))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement