projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e708fa
)
mesa: fix error test mistake in _mesa_CopyBufferSubData()
author
Brian Paul
<brianp@vmware.com>
Wed, 3 Jun 2009 03:23:28 +0000
(21:23 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 3 Jun 2009 03:35:11 +0000
(21:35 -0600)
src/mesa/main/bufferobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index 88b51fe60ffb0bfe53972b23a36be9a471549f33..5fa13d9b54276712960785c55ba37b9cfadc2372 100644
(file)
--- a/
src/mesa/main/bufferobj.c
+++ b/
src/mesa/main/bufferobj.c
@@
-1254,7
+1254,7
@@
_mesa_CopyBufferSubData(GLenum readTarget, GLenum writeTarget,
return;
}
- if (writeOffset + size >
src
->Size) {
+ if (writeOffset + size >
dst
->Size) {
_mesa_error(ctx, GL_INVALID_VALUE,
"glCopyBuffserSubData(writeOffset + size = %d)",
writeOffset, size);