fn d_display(
rend: &mut impl PlayRenderer,
menu: &mut impl MachinationTrait,
machines: &mut Machinations<impl MachinationTrait, impl MachinationTrait, impl MachinationTrait, impl MachinationTrait>,
game: &mut Game,
disp_buf: &mut RenderTarget,
draw_buf: &mut RenderTarget,
canvas: &mut Canvas<Window>,
timestep: &mut TimeStep
)
Expand description
Does a bunch of stuff in Doom…
pixels
is the buffer that is always drawn, so drawing in to pixels2
then flipping
ensures the buffer is drawn. But if we draw in to pixels2
and don’t flip, we can
do the screen-melt by progressively drawing from pixels2
to pixels
.
D_Display