mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-07 18:36:09 +08:00
corrections
This commit is contained in:
parent
0a8a998729
commit
fb239c1a8d
@ -84,7 +84,6 @@ int main() {
|
||||
}
|
||||
|
||||
cairo_close_path(cactx);
|
||||
ang += angv;
|
||||
}
|
||||
|
||||
cairo_set_source_rgba(cactx,0,0,0,0.5);
|
||||
@ -104,7 +103,6 @@ int main() {
|
||||
}
|
||||
|
||||
cairo_close_path(cactx);
|
||||
ang += angv;
|
||||
}
|
||||
|
||||
cairo_set_source_rgb(cactx,1.0,1.0,1.0);
|
||||
@ -138,6 +136,8 @@ int main() {
|
||||
SDL_UpdateWindowSurface(window);
|
||||
}
|
||||
|
||||
ang += angv;
|
||||
|
||||
SDL_Delay(1000 / 30);
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,6 @@ int main() {
|
||||
}
|
||||
|
||||
cairo_close_path(cactx);
|
||||
ang += angv;
|
||||
}
|
||||
|
||||
cairo_set_source_rgba(cactx,0,0,0,0.5);
|
||||
@ -118,7 +117,6 @@ int main() {
|
||||
}
|
||||
|
||||
cairo_close_path(cactx);
|
||||
ang += angv;
|
||||
}
|
||||
|
||||
cairo_set_source_rgb(cactx,1.0,1.0,1.0);
|
||||
@ -127,6 +125,8 @@ int main() {
|
||||
cairo_set_source_rgb(cactx,0.0,0.0,1.0);
|
||||
cairo_stroke(cactx);
|
||||
|
||||
ang += angv;
|
||||
|
||||
// copy Cairo output to display
|
||||
cairo_surface_flush(csurf);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user