Merge pull request #2314 from lugaidster/master

Fix wayland crash
This commit is contained in:
Twinaphex 2015-10-30 08:36:31 +01:00
commit 54693ee7dd

View File

@ -609,7 +609,7 @@ static bool gfx_ctx_wl_set_video_mode(void *data,
sigaction(SIGINT, &sa, NULL);
sigaction(SIGTERM, &sa, NULL);
attr = egl_fill_attribs(attr);
attr = egl_fill_attribs(egl_attribs);
wl->g_width = width ? width : DEFAULT_WINDOWED_WIDTH;
wl->g_height = height ? height : DEFAULT_WINDOWED_HEIGHT;