Take this out, serves no purpose

This commit is contained in:
twinaphex 2016-01-26 19:49:05 +01:00
parent 8d7290b300
commit f15e03816b

View File

@ -166,7 +166,6 @@ static const char *menu_video_get_ident(void)
static bool menu_display_check_compatibility(enum menu_display_driver_type type)
{
const char *video_driver = menu_video_get_ident();
const char *ctx_driver = gfx_ctx_get_ident();
switch (type)
{
@ -175,8 +174,6 @@ static bool menu_display_check_compatibility(enum menu_display_driver_type type)
case MENU_VIDEO_DRIVER_OPENGL:
if (string_is_equal(video_driver, "gl"))
return true;
if (!string_is_empty(ctx_driver) && string_is_equal(video_driver, "sdl_gl"))
return true;
break;
case MENU_VIDEO_DRIVER_DIRECT3D:
if (string_is_equal(video_driver, "d3d"))