mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
adding clear window
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/10/04 17:36:44 by maldavid #+# #+# */
|
||||
/* Updated: 2023/04/01 15:40:30 by maldavid ### ########.fr */
|
||||
/* Updated: 2023/04/01 17:50:22 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -57,6 +57,11 @@ namespace mlx
|
||||
texture->render(*_renderer, x, y);
|
||||
}
|
||||
|
||||
void MLX_Window::clear()
|
||||
{
|
||||
_renderer->getPixelPutPipeline().clear();
|
||||
}
|
||||
|
||||
void MLX_Window::endFrame()
|
||||
{
|
||||
auto cmd_buff = _renderer->getActiveCmdBuffer().get();
|
||||
|
||||
Reference in New Issue
Block a user