summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.c3
-rw-r--r--src/mesa/drivers/dri/intel/intel_extensions.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index 7a2e7617d0..fb7409c07e 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -604,6 +604,9 @@ intelInitDriverFunctions(struct dd_function_table *functions)
intelInitBufferObjectFuncs(functions);
intel_init_syncobj_functions(functions);
+#if FEATURE_OES_draw_texture
+ functions->DrawTex = _mesa_meta_draw_tex;
+#endif
intelInitEGLImageFuncs(functions);
}
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index 21af22fbfb..3d01e2e028 100644
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -182,6 +182,9 @@ static const struct dri_extension ttm_extensions[] = {
#if FEATURE_OES_EGL_image
{ "GL_OES_EGL_image", NULL },
#endif
+#if FEATURE_OES_draw_texture
+ { "GL_OES_draw_texture", NULL },
+#endif
{ NULL, NULL }
};