diff options
Diffstat (limited to 'src/gallium/targets/egl-static/egl_st.c')
-rw-r--r-- | src/gallium/targets/egl-static/egl_st.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/egl_st.c b/src/gallium/targets/egl-static/egl_st.c index 8c06fb74bd6..67e3c29a1ca 100644 --- a/src/gallium/targets/egl-static/egl_st.c +++ b/src/gallium/targets/egl-static/egl_st.c @@ -129,11 +129,13 @@ egl_st_create_api(enum st_api_type api) switch (api) { case ST_API_OPENGL: +#if FEATURE_GL || FEATURE_ES1 || FEATURE_ES2 #if _EGL_EXTERNAL_GL stapi = egl_st_load_gl(); #else stapi = st_gl_api_create(); #endif +#endif break; case ST_API_OPENVG: #if FEATURE_VG |