diff options
author | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2014-06-02 09:56:46 +0400 |
---|---|---|
committer | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2014-06-02 09:59:23 +0400 |
commit | 6b77a7776508358ff6d991b071a1434dc2fcb8b4 (patch) | |
tree | 0e82196e6adbee6e1c075b70f92216c67cc88f9c /GLESv2 | |
parent | ee11c0ea80d50e2e67d9c5b830d59d0a9fc3714f (diff) | |
download | emulator-yagl-6b77a7776508358ff6d991b071a1434dc2fcb8b4.tar.gz emulator-yagl-6b77a7776508358ff6d991b071a1434dc2fcb8b4.tar.bz2 emulator-yagl-6b77a7776508358ff6d991b071a1434dc2fcb8b4.zip |
YaGL: Report GL_OES_surfaceless_context support
EGL_KHR_surfaceless_context can be used only with
contexts that support GL_OES_surfaceless_context. YaGL
supports GL_OES_surfaceless_context for any kind
of context, so report this always
Change-Id: I6d515b8b6eccff8a030508f1c2f1fc12db58d520
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Diffstat (limited to 'GLESv2')
-rw-r--r-- | GLESv2/yagl_gles2_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/GLESv2/yagl_gles2_context.c b/GLESv2/yagl_gles2_context.c index 87f44d3..3a469cc 100644 --- a/GLESv2/yagl_gles2_context.c +++ b/GLESv2/yagl_gles2_context.c @@ -53,6 +53,7 @@ static const GLchar *read_buffer_ext = "GL_NV_read_buffer"; static const GLchar *compressed_etc1_rgb8_texture_ext = "GL_OES_compressed_ETC1_RGB8_texture"; static const GLchar *pack_subimage_ext = "GL_NV_pack_subimage"; static const GLchar *unpack_subimage_ext = "GL_EXT_unpack_subimage"; +static const GLchar *surfaceless_context_ext = "GL_OES_surfaceless_context"; 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"; @@ -329,6 +330,7 @@ const GLchar **yagl_gles2_context_get_extensions(struct yagl_gles2_context *ctx, extensions[i++] = compressed_etc1_rgb8_texture_ext; extensions[i++] = pack_subimage_ext; extensions[i++] = unpack_subimage_ext; + extensions[i++] = surfaceless_context_ext; if (yagl_egl_fence_supported()) { extensions[i++] = egl_sync_ext; |