working for windows

This commit is contained in:
Carlos Aragones committed 2020-09-16 11:38:05 +02:00
1 parent a6e63243f4
commit 82595a8d74
10 files changed
+70 -46

No files matched your search

+3
View File
@@ -30,6 +30,9 @@ main()
g_buffer = (uint32_t *) malloc(g_width * g_height * 4);
mfb_set_resize_callback(window, resize);
mfb_set_viewport(window, 50, 50, g_width - 50 - 50, g_height - 50 - 50);
resize(window, g_width - 100, g_height - 100); // to resize buffer
mfb_update_state state;
do {
for (i = 0; i < g_width * g_height; ++i) {