diff options
author | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2014-06-02 09:50:54 +0400 |
---|---|---|
committer | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2014-06-02 09:52:19 +0400 |
commit | ee11c0ea80d50e2e67d9c5b830d59d0a9fc3714f (patch) | |
tree | 7fbcd436e8a2dcbb39d7fa5420896f25d3a02f55 /GLESv2 | |
parent | 3a1f7eee24defb6dba43b1eab723c25b1b8a5d2c (diff) | |
download | emulator-yagl-ee11c0ea80d50e2e67d9c5b830d59d0a9fc3714f.tar.gz emulator-yagl-ee11c0ea80d50e2e67d9c5b830d59d0a9fc3714f.tar.bz2 emulator-yagl-ee11c0ea80d50e2e67d9c5b830d59d0a9fc3714f.zip |
YaGL: Don't report GL_ARB_texture_rectangle support
We don't support GL_ARB_texture_rectangle, so don't report
it in extension string
Change-Id: Ib341b3cff3bd3ea70a5c70d6b3b5557d0c68d390
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Diffstat (limited to 'GLESv2')
-rw-r--r-- | GLESv2/yagl_gles2_context.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/GLESv2/yagl_gles2_context.c b/GLESv2/yagl_gles2_context.c index a0715dc..87f44d3 100644 --- a/GLESv2/yagl_gles2_context.c +++ b/GLESv2/yagl_gles2_context.c @@ -56,7 +56,6 @@ static const GLchar *unpack_subimage_ext = "GL_EXT_unpack_subimage"; static const GLchar *egl_sync_ext = "GL_OES_EGL_sync"; static const GLchar *packed_depth_stencil_ext = "GL_OES_packed_depth_stencil"; static const GLchar *texture_npot_ext = "GL_OES_texture_npot"; -static const GLchar *texture_rectangle_ext = "GL_ARB_texture_rectangle"; static const GLchar *texture_filter_anisotropic_ext = "GL_EXT_texture_filter_anisotropic"; static const GLchar *vertex_array_object_ext = "GL_OES_vertex_array_object"; static const GLchar *texture_half_float_ext = "GL_OES_texture_half_float"; @@ -343,10 +342,6 @@ const GLchar **yagl_gles2_context_get_extensions(struct yagl_gles2_context *ctx, extensions[i++] = texture_npot_ext; } - if (ctx->base.texture_rectangle) { - extensions[i++] = texture_rectangle_ext; - } - if (ctx->base.texture_filter_anisotropic) { extensions[i++] = texture_filter_anisotropic_ext; } |