Browse Source

Clear the window on each tick just to show it properly

master
Wesley Kerfoot 5 years ago
parent
commit
929e6a1f1c
  1. 8
      blit.c

8
blit.c

@ -100,9 +100,9 @@ main(void) {
}
if (event.type == KeyPress) {
break;
}
//if (event.type == KeyPress) {
//break;
//}
for(int x = 0; x < 100; x++) {
for(int y = 0; y < 100; y++) {
@ -112,6 +112,8 @@ main(void) {
factor++;
XClearWindow(display, window);
XCopyArea(display,
pixmap,
window,

Loading…
Cancel
Save