summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/angle_dynamic.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/angle_dynamic.h')
-rw-r--r--video/out/opengl/angle_dynamic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/opengl/angle_dynamic.h b/video/out/opengl/angle_dynamic.h
index 12a0c692eb..d419c3fc91 100644
--- a/video/out/opengl/angle_dynamic.h
+++ b/video/out/opengl/angle_dynamic.h
@@ -8,6 +8,8 @@
#include <EGL/egl.h>
#include <EGL/eglext.h>
+#include "config.h"
+
#define ANGLE_FNS(FN) \
FN(eglBindAPI, EGLBoolean (*EGLAPIENTRY PFN_eglBindAPI)(EGLenum)) \
FN(eglBindTexImage, EGLBoolean (*EGLAPIENTRY PFN_eglBindTexImage) \
@@ -59,7 +61,7 @@ ANGLE_FNS(ANGLE_EXT_DECL)
bool angle_load(void);
// Source compatibility to statically linked ANGLE.
-#ifndef ANGLE_NO_ALIASES
+#if !HAVE_EGL_ANGLE_LIB
#define eglBindAPI PFN_eglBindAPI
#define eglBindTexImage PFN_eglBindTexImage
#define eglChooseConfig PFN_eglChooseConfig