1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00

angle_dynamic: minor simplification

Remove the inverted condition by swapping if branches.
This commit is contained in:
wm4 2016-11-23 16:01:28 +01:00
parent 79d99bd264
commit f696975fe3

View File

@ -29,10 +29,10 @@ static void angle_do_load(void)
bool angle_load(void)
{
#if !HAVE_EGL_ANGLE_LIB
#if HAVE_EGL_ANGLE_LIB
return true;
#else
pthread_once(&angle_load_once, angle_do_load);
return angle_loaded;
#else
return true;
#endif
}