corrections

This commit is contained in:
Jonathan Campbell 2019-06-28 13:35:56 -07:00
parent 0a8a998729
commit fb239c1a8d
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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);