mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
adding pixel put pipeline
This commit is contained in:
BIN
test/42_logo.png
git.filemode.normal_file
BIN
test/42_logo.png
git.filemode.normal_file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -6,7 +6,7 @@
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/10/04 17:55:21 by maldavid #+# #+# */
|
||||
/* Updated: 2023/01/25 15:20:35 by maldavid ### ########.fr */
|
||||
/* Updated: 2023/03/31 20:26:59 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -23,9 +23,9 @@ int update(t_mlx *mlx)
|
||||
{
|
||||
static int i = 0;
|
||||
|
||||
printf("%d\n", i);
|
||||
mlx_pixel_put(mlx->mlx, mlx->win, 100, 0, 0xFFFFFFFF);
|
||||
i++;
|
||||
if (i > 20000)
|
||||
if (i > 10000)
|
||||
mlx_loop_end(mlx->mlx);
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
clear && gcc main.c ../libmlx.so -lSDL2 && ./a.out
|
||||
clang main.c ../libmlx.so -lSDL2 -g && ./a.out
|
||||
|
||||
Reference in New Issue
Block a user