From a107678f0d782a72ab1ca003055e280267e97272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Flor=C3=A9al=20Toumikian?= Date: Sat, 5 Apr 2014 19:51:28 +0200 Subject: [PATCH] Fixed broken build --- 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)