A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
When kit.sdl2:render is called and %restart > 0 (or rather %restart-frames > 0), skip the rendering completely.
This is achieved with an :around method so that existing :before and :after methods defined by kit.sdl2 that call functions sdl2:gl-make-current and sdl2:gl-swap-window are not called.
When
kit.sdl2:render
is called and%restart > 0
(or rather%restart-frames > 0
), skip the rendering completely. This is achieved with an:around
method so that existing:before
and:after
methods defined bykit.sdl2
that call functionssdl2:gl-make-current
andsdl2:gl-swap-window
are not called.