diff options
Diffstat (limited to 'video/out/opengl/angle_dynamic.c')
-rw-r--r-- | video/out/opengl/angle_dynamic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/opengl/angle_dynamic.c b/video/out/opengl/angle_dynamic.c index f4540c473a..3c5a9ba036 100644 --- a/video/out/opengl/angle_dynamic.c +++ b/video/out/opengl/angle_dynamic.c @@ -4,6 +4,7 @@ #define ANGLE_NO_ALIASES #include "angle_dynamic.h" +#include "config.h" #include "common/common.h" #define ANGLE_DECL(NAME, VAR) \ @@ -28,6 +29,10 @@ static void angle_do_load(void) bool angle_load(void) { +#if !HAVE_EGL_ANGLE_LIB pthread_once(&angle_load_once, angle_do_load); return angle_loaded; +#else + return true; +#endif } |