mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
cleanup
This commit is contained in:
parent
b97069aa6d
commit
db53e54b15
@ -325,15 +325,10 @@ static void create_gl_context(HWND hwnd, bool *quit)
|
||||
/* found a suitable version that is high enough, we can stop now */
|
||||
break;
|
||||
}
|
||||
else
|
||||
else if (versions[i][0] == win32_major && versions[i][1] == win32_minor)
|
||||
{
|
||||
if (versions[i][0] == win32_major && versions[i][1] == win32_minor)
|
||||
{
|
||||
/* The requested version was tried and is not supported, go ahead and fail since everything else will be lower than that. */
|
||||
break;
|
||||
}
|
||||
|
||||
continue;
|
||||
/* The requested version was tried and is not supported, go ahead and fail since everything else will be lower than that. */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -916,15 +916,10 @@ static bool gfx_ctx_x_set_video_mode(void *data,
|
||||
|
||||
break;
|
||||
}
|
||||
else
|
||||
else if (versions[i][0] == g_major && versions[i][1] == g_minor)
|
||||
{
|
||||
if (versions[i][0] == g_major && versions[i][1] == g_minor)
|
||||
{
|
||||
/* The requested version was tried and is not supported, go ahead and fail since everything else will be lower than that. */
|
||||
break;
|
||||
}
|
||||
|
||||
continue;
|
||||
/* The requested version was tried and is not supported, go ahead and fail since everything else will be lower than that. */
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user