summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2012-09-11 10:23:20 +0300
committerOliver McFadden <[email protected]>2012-09-15 12:57:20 +0300
commitf88393afbe93898b167b3f218bbf33cffc70ef38 (patch)
tree942d9457420af1975bacf25f86c41d45b88b768a /src/mesa/state_tracker
parentcd28a19bd98173506f83298f9d526af0600a7c2f (diff)
mesa: remove FEATURE_OES_EGL_image define.
Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_eglimage.c4
-rw-r--r--src/mesa/state_tracker/st_cb_eglimage.h11
-rw-r--r--src/mesa/state_tracker/st_extensions.c2
3 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/state_tracker/st_cb_eglimage.c b/src/mesa/state_tracker/st_cb_eglimage.c
index e91e9142da7..0679e7d44bd 100644
--- a/src/mesa/state_tracker/st_cb_eglimage.c
+++ b/src/mesa/state_tracker/st_cb_eglimage.c
@@ -38,8 +38,6 @@
#include "st_format.h"
#include "st_manager.h"
-#if FEATURE_OES_EGL_image
-
/**
* Return the base format just like _mesa_base_fbo_format does.
*/
@@ -164,5 +162,3 @@ st_init_eglimage_functions(struct dd_function_table *functions)
functions->EGLImageTargetTexture2D = st_egl_image_target_texture_2d;
functions->EGLImageTargetRenderbufferStorage = st_egl_image_target_renderbuffer_storage;
}
-
-#endif /* FEATURE_OES_EGL_image */
diff --git a/src/mesa/state_tracker/st_cb_eglimage.h b/src/mesa/state_tracker/st_cb_eglimage.h
index 48567ed9da5..1750b914788 100644
--- a/src/mesa/state_tracker/st_cb_eglimage.h
+++ b/src/mesa/state_tracker/st_cb_eglimage.h
@@ -34,18 +34,7 @@
struct dd_function_table;
-#if FEATURE_OES_EGL_image
-
extern void
st_init_eglimage_functions(struct dd_function_table *functions);
-#else
-
-static INLINE void
-st_init_eglimage_functions(struct dd_function_table *functions)
-{
-}
-
-#endif
-
#endif /* ST_CB_EGLIMAGE_H */
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index ead5145a18c..d6cb915e9dc 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -530,11 +530,9 @@ void st_init_extensions(struct st_context *st)
ctx->Extensions.NV_vertex_program1_1 = GL_TRUE;
#endif
-#if FEATURE_OES_EGL_image
ctx->Extensions.OES_EGL_image = GL_TRUE;
if (ctx->API != API_OPENGL)
ctx->Extensions.OES_EGL_image_external = GL_TRUE;
-#endif
ctx->Extensions.OES_draw_texture = GL_TRUE;
/* Expose the extensions which directly correspond to gallium caps. */