From 6b6515b101488361b9b664034db3ec35266f6412 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 5 Apr 2014 20:03:07 +0200 Subject: [PATCH] (DRM EGL) Build fix --- gfx/context/drm_egl_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/context/drm_egl_ctx.c b/gfx/context/drm_egl_ctx.c index 44eacdef3c..b43b9c05b8 100644 --- a/gfx/context/drm_egl_ctx.c +++ b/gfx/context/drm_egl_ctx.c @@ -254,7 +254,7 @@ nextgpu: RARCH_ERR("[KMS/EGL]: Couldn't find a suitable DRM device.\n"); goto error; } - gpu = list->elems[gpu_index++].data; + gpu = gpu_descriptors->elems[gpu_index++].data; g_drm_fd = open(gpu, O_RDWR); if (g_drm_fd < 0)