From 858768313b3665ddaf618d135126bd27aa0cc145 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 20 Jul 2024 16:09:25 +0000 Subject: [PATCH] Fix mistakes --- test/graphics.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/graphics.c b/test/graphics.c index 0133cc0..563eeff 100644 --- a/test/graphics.c +++ b/test/graphics.c @@ -12,8 +12,8 @@ int main(int argc, char *argv[]) { unigi_init(); unigi_type_event event; unigi_type_resolution res; - res.width = 640; - res.height = 480; + res.width = 320; + res.height = 240; res.depth = 32; unigi_type_color pixels[res.width * res.height]; unigi_type_resolution_2d_coord x; @@ -38,7 +38,7 @@ int main(int argc, char *argv[]) { } t2++; } - unigi_graphics_blit(0,&pixels,res.width * res.height); + unigi_graphics_blit(0,pixels,res.width * res.height); unigi_graphics_flush(); t++; }