Fix mistakes
This commit is contained in:
parent
23e3edda06
commit
858768313b
@ -12,8 +12,8 @@ int main(int argc, char *argv[]) {
|
|||||||
unigi_init();
|
unigi_init();
|
||||||
unigi_type_event event;
|
unigi_type_event event;
|
||||||
unigi_type_resolution res;
|
unigi_type_resolution res;
|
||||||
res.width = 640;
|
res.width = 320;
|
||||||
res.height = 480;
|
res.height = 240;
|
||||||
res.depth = 32;
|
res.depth = 32;
|
||||||
unigi_type_color pixels[res.width * res.height];
|
unigi_type_color pixels[res.width * res.height];
|
||||||
unigi_type_resolution_2d_coord x;
|
unigi_type_resolution_2d_coord x;
|
||||||
@ -38,7 +38,7 @@ int main(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
t2++;
|
t2++;
|
||||||
}
|
}
|
||||||
unigi_graphics_blit(0,&pixels,res.width * res.height);
|
unigi_graphics_blit(0,pixels,res.width * res.height);
|
||||||
unigi_graphics_flush();
|
unigi_graphics_flush();
|
||||||
t++;
|
t++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user