[][src]Function olc_pixel_game_engine::layer::set_primary_draw_target

pub fn set_primary_draw_target()

Sets the primary layer (index 0, the default layer) as the main draw target. This is equivalent to olc::SetDrawTarget(nullptr) in the pixel game engine.