From 5c7c53f026fd2f318ee41a6990b1851ba87097e6 Mon Sep 17 00:00:00 2001 From: lugaidster Date: Thu, 29 Oct 2015 23:59:40 -0300 Subject: [PATCH] fixed a typo that caused Retroarch to crash on wayland using the gl driver. --- gfx/drivers_context/wayland_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 6fdee08132..ed769cf8e7 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -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;