aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/bufferobj.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-02-08 09:13:10 +0100
committermarha <marha@users.sourceforge.net>2013-02-08 09:13:10 +0100
commit71ff3367cab660035c6ea38e5171841dacd461b5 (patch)
treefa8063ccfcd59ad1b7e92e374c2ce7229948a50c /mesalib/src/mesa/main/bufferobj.c
parent49efd6bbf4c48770aea3654db1e7e90f4aa0dd06 (diff)
parent212958ab41363d50d87470f6fb47bbcdc7a74c74 (diff)
downloadvcxsrv-71ff3367cab660035c6ea38e5171841dacd461b5.tar.gz
vcxsrv-71ff3367cab660035c6ea38e5171841dacd461b5.tar.bz2
vcxsrv-71ff3367cab660035c6ea38e5171841dacd461b5.zip
Merge remote-tracking branch 'origin/released'
* origin/released: fontconfig mesa git update 8 Feb 2013 Conflicts: updategit.sh
Diffstat (limited to 'mesalib/src/mesa/main/bufferobj.c')
-rw-r--r--mesalib/src/mesa/main/bufferobj.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mesalib/src/mesa/main/bufferobj.c b/mesalib/src/mesa/main/bufferobj.c
index 89911fe51..ba464fe9f 100644
--- a/mesalib/src/mesa/main/bufferobj.c
+++ b/mesalib/src/mesa/main/bufferobj.c
@@ -2152,13 +2152,6 @@ _mesa_BindBufferRange(GLenum target, GLuint index,
(int) size);
return;
}
-
- if (offset + size > bufObj->Size) {
- _mesa_error(ctx, GL_INVALID_VALUE,
- "glBindBufferRange(offset + size %d > buffer size %d)",
- (int) (offset + size), (int) (bufObj->Size));
- return;
- }
}
switch (target) {