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:
parent
79d99bd264
commit
f696975fe3
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user