summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-09-15 18:15:22 +0100
committerJosé Fonseca <[email protected]>2012-09-15 18:18:39 +0100
commitb6c2234c22d5a935012870fa254e68d026ef265e (patch)
tree46441ab3b3110cd9f9c600b821efee6be8feecc9 /src/gallium/targets/egl-static
parente78ebbc5f9448d459b57884d90b0a6496294c1dd (diff)
Temporarily revert "mesa: remove remaining FEATURE_* defines where protected by API check."
This reverts commit 9f37b405a3de8668a5f74c9681829688475ac3b7. Fixes windows builds.
Diffstat (limited to 'src/gallium/targets/egl-static')
-rw-r--r--src/gallium/targets/egl-static/egl_st.c2
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