projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b47b4
)
mesa: remove duplicate assignments in bind_xfb_buffers()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Wed, 23 Aug 2017 14:43:33 +0000
(16:43 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 24 Aug 2017 09:01:50 +0000
(11:01 +0200)
Useless to do that before checking errors. It's now similar to
the other bind_XXX_buffers() helpers.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/bufferobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index
099648f
..
2da2128
100644
(file)
--- a/
src/mesa/main/bufferobj.c
+++ b/
src/mesa/main/bufferobj.c
@@
-4055,9
+4055,6
@@
bind_xfb_buffers(struct gl_context *ctx,
GLsizeiptr size = 0;
if (range) {
- offset = offsets[i];
- size = sizes[i];
-
if (!bind_buffers_check_offset_and_size(ctx, i, offsets, sizes))
continue;