diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-18 01:54:00 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-18 01:54:00 +0200 |
commit | 4a96d4a354fbde7fd614075c060aea78a3411b42 (patch) | |
tree | 68b74c40914ff030af7a8345262be866f5242822 /src | |
parent | fc98ecc0fb9461688a5f82515248f56f507080f2 (diff) |
Do not make an initial draw call in window creation function
Diffstat (limited to 'src')
-rw-r--r-- | src/window/window.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/window/window.c b/src/window/window.c index 3c5ce56..c155687 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -97,7 +97,6 @@ int mgl_window_create_with_params(mgl_window *self, const char *title, int width XQueryPointer(context->connection, self->window, &dummy_w, &dummy_w, &dummy_i, &dummy_i, &self->cursor_position.x, &self->cursor_position.y, &dummy_u); mgl_window_on_resize(self, gwa.width, gwa.height); - mgl_window_draw(self); return 0; } |