Merge pull request #640 from floreal/multi-gpu-egl-kms

Fixed broken build
This commit is contained in:
Twinaphex 2014-04-05 20:03:57 +02:00
commit 52a05c0a53

View File

@ -250,7 +250,6 @@ static bool gfx_ctx_init(void *data)
nextgpu:
if (gpu_index == gpu_descriptors->size)
{
dir_list_free(gpu_descriptors);
RARCH_ERR("[KMS/EGL]: Couldn't find a suitable DRM device.\n");
goto error;
}
@ -332,6 +331,7 @@ nextgpu:
goto nextgpu;
}
dir_list_free(gpu_descriptors);
return true;
error: