diff options
author | Mathias Agopian <mathias@google.com> | 2012-01-28 21:44:00 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-01-29 22:22:09 -0800 |
commit | ea261a2e13c23f641d6caa38ce8d9f5ad94504da (patch) | |
tree | d4f0df4e2f1f04d336eb5cdc2092b3af92b69572 /opengl/libs/GLES2/gl2_api.in | |
parent | dfbcee6cb8ab9cf89b9052eb7498e453afdb1463 (diff) | |
download | frameworks_base-ea261a2e13c23f641d6caa38ce8d9f5ad94504da.zip frameworks_base-ea261a2e13c23f641d6caa38ce8d9f5ad94504da.tar.gz frameworks_base-ea261a2e13c23f641d6caa38ce8d9f5ad94504da.tar.bz2 |
add support for GL_EXT_debug_marker
This extension is always added to the GL_EXTENSIONS
extension string for the current GL context, regardless
of if it's supported by the h/w driver.
The extension itself will be handled by GLES_trace (eventually),
when GLES_trace is not enabled, it'll result to a no-op.
If the h/w implementation has this extension, we'll call that version
instead of our dummy version.
Change-Id: Ie5dd3387c4d45cd5ed5f03b73bda6045620a96bc
Diffstat (limited to 'opengl/libs/GLES2/gl2_api.in')
-rw-r--r-- | opengl/libs/GLES2/gl2_api.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/GLES2/gl2_api.in b/opengl/libs/GLES2/gl2_api.in index 5164450..9a89a52 100644 --- a/opengl/libs/GLES2/gl2_api.in +++ b/opengl/libs/GLES2/gl2_api.in @@ -211,7 +211,7 @@ void API_ENTRY(glGetShaderPrecisionFormat)(GLenum shadertype, GLenum precisionty void API_ENTRY(glGetShaderSource)(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source) { CALL_GL_API(glGetShaderSource, shader, bufsize, length, source); } -const GLubyte* API_ENTRY(glGetString)(GLenum name) { +const GLubyte* API_ENTRY(__glGetString)(GLenum name) { CALL_GL_API_RETURN(glGetString, name); } void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat* params) { |