summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-10-20 11:44:36 -0400
committerChia-I Wu <olvaffe@gmail.com>2011-03-16 20:18:39 +0800
commitcb4afed922c68edc80300ef24f5a08ad4ffe108d (patch)
tree9c341057c4564953b8054d82c343c1a7ca2bde38
parent5d1e2165f793807decbe51f239341fb1983e8cb4 (diff)
android: Enable extensions required by ES1 for i915c.
-rw-r--r--src/mesa/drivers/dri/intel/intel_extensions_es2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions_es2.c b/src/mesa/drivers/dri/intel/intel_extensions_es2.c
index ef7f2c968e..e9935460d6 100644
--- a/src/mesa/drivers/dri/intel/intel_extensions_es2.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions_es2.c
@@ -91,6 +91,11 @@ intelInitExtensionsES1(struct gl_context *ctx)
for (i = 0; es2_extensions[i]; i++)
_mesa_enable_extension(ctx, es2_extensions[i]);
+ _mesa_enable_extension(ctx, "GL_ARB_texture_env_add");
+ _mesa_enable_extension(ctx, "GL_ARB_texture_env_combine");
+ _mesa_enable_extension(ctx, "GL_ARB_texture_env_dot3");
+ _mesa_enable_extension(ctx, "GL_ARB_point_parameters");
+
_mesa_enable_extension(ctx, "GL_OES_draw_texture");
}