Wayland support

This commit is contained in:
Carlos Aragones
2020-09-16 13:32:27 +02:00
parent 5196518bcb
commit 6a1e7e0b71
2 changed files with 7 additions and 15 deletions

View File

@ -11,6 +11,7 @@ static uint32_t *g_buffer = 0x0;
void
resize(struct mfb_window *window, int width, int height) {
(void) window;
g_width = width;
g_height = height;
g_buffer = realloc(g_buffer, g_width * g_height * 4);