summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-05-08 20:07:26 +0100
committerJose Fonseca <jfonseca@vmware.com>2016-05-10 03:25:25 -0700
commitdd5b4b38a7d2bc3cf729d4f14d1a987869685077 (patch)
treecb3a808116115073c57c6b3dbe83b60b3c8ad5d1 /helpers
parent73a1a09bf7f6ea553cf1e9cbffac9211617a4997 (diff)
gltrace: Don't track GLES buffer contents.
Diffstat (limited to 'helpers')
-rw-r--r--helpers/glsize.hpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/helpers/glsize.hpp b/helpers/glsize.hpp
index 46cb4b18..88fe0f1b 100644
--- a/helpers/glsize.hpp
+++ b/helpers/glsize.hpp
@@ -404,11 +404,6 @@ _glDrawArrays_count(GLint first, GLsizei count)
#define _glDrawArraysEXT_count _glDrawArrays_count
-/* Forward declaration for definition in gltrace.py */
-void
-_shadow_glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size,
- GLvoid *data);
-
static inline GLuint
_glDrawElementsBaseVertex_count(GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
{
@@ -428,7 +423,7 @@ _glDrawElementsBaseVertex_count(GLsizei count, GLenum type, const GLvoid *indice
return 0;
}
memset(temp, 0, size);
- _shadow_glGetBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, temp);
+ _glGetBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, temp);
indices = temp;
} else {
if (!indices) {