From 45595d506646f560ab16af58acdea2fc563e942b Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 29 May 2013 17:32:44 +0200 Subject: mesa: fix OES_EGL_image_external being partially allowed in the core profile Reviewed-by: Chad Versace --- src/mesa/state_tracker/st_extensions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mesa/state_tracker') diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index ddae9563955..966722c0ba9 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -573,8 +573,7 @@ void st_init_extensions(struct st_context *st) ctx->Extensions.NV_texture_rectangle = GL_TRUE; ctx->Extensions.OES_EGL_image = GL_TRUE; - if (ctx->API != API_OPENGL_COMPAT) - ctx->Extensions.OES_EGL_image_external = GL_TRUE; + ctx->Extensions.OES_EGL_image_external = GL_TRUE; ctx->Extensions.OES_draw_texture = GL_TRUE; /* Expose the extensions which directly correspond to gallium caps. */ -- cgit v1.2.3