Fix mistakes

This commit is contained in:
Fierelier 2024-07-20 16:09:25 +00:00
parent 23e3edda06
commit 858768313b

View File

@ -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++;
}