diff options
author | Samuel Pitoiset <[email protected]> | 2017-08-23 16:43:33 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-08-24 11:01:50 +0200 |
commit | bfef3fabc69de2bd1210ba0720eacd9e75548eac (patch) | |
tree | 7280c152f512f7de4c5721911a54ffa7519a4a0e /src/mesa/main/bufferobj.c | |
parent | f8b47b4789770ac9c502a4722a10437b460c3b21 (diff) |
mesa: remove duplicate assignments in bind_xfb_buffers()
Useless to do that before checking errors. It's now similar to
the other bind_XXX_buffers() helpers.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r-- | src/mesa/main/bufferobj.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 099648f4198..2da21280819 100644 --- 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; |