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
1 changed files with 3 additions and 3 deletions

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
}