| ... | ... |
@@ -1,4 +1,5 @@ |
| 1 | 1 |
#include <stdlib.h> |
| 2 |
+#include <stdio.h> |
|
| 2 | 3 |
|
| 3 | 4 |
#include "../uxn.h" |
| 4 | 5 |
#include "screen.h" |
| ... | ... |
@@ -126,7 +127,8 @@ screen_redraw(void) |
| 126 | 127 |
i = x + y * w; |
| 127 | 128 |
pixels[i] = palette[fg[i] << 2 | bg[i]]; |
| 128 | 129 |
} |
| 129 |
- uxn_screen.x1 = uxn_screen.y1 = uxn_screen.x2 = uxn_screen.y2 = 0; |
|
| 130 |
+ uxn_screen.x1 = uxn_screen.y1 = 0xffff; |
|
| 131 |
+ uxn_screen.x2 = uxn_screen.y2 = 0; |
|
| 130 | 132 |
} |
| 131 | 133 |
|
| 132 | 134 |
/* clang-format off */ |