summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.h
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-02-11 11:06:42 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-03-17 10:18:33 -0700
commit9cb732b8e9fad4a603f38ce896cd84300e2743a3 (patch)
treee396eb53f9d4f32ad73c8dae90bf866fc71dde16 /src/mesa/main/bufferobj.h
parent566ccdf11b37363255bf5d20d7ab6639ddaf1b30 (diff)
downloadexternal_mesa3d-9cb732b8e9fad4a603f38ce896cd84300e2743a3.zip
external_mesa3d-9cb732b8e9fad4a603f38ce896cd84300e2743a3.tar.gz
external_mesa3d-9cb732b8e9fad4a603f38ce896cd84300e2743a3.tar.bz2
main: Improve errors and style in BufferSubData.
- More explicit error reporting. - Removed legacy style. Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r--src/mesa/main/bufferobj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index 889bbb1..d15ad00 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@ -190,8 +190,8 @@ _mesa_NamedBufferData(GLuint buffer, GLsizeiptr size,
const GLvoid *data, GLenum usage);
void GLAPIENTRY
-_mesa_BufferSubData(GLenum target, GLintptrARB offset,
- GLsizeiptrARB size, const GLvoid * data);
+_mesa_BufferSubData(GLenum target, GLintptr offset,
+ GLsizeiptr size, const GLvoid *data);
void GLAPIENTRY
_mesa_NamedBufferSubData(GLuint buffer, GLintptr offset,