mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 07:40:31 +01:00
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 <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
f8b47b4789
commit
bfef3fabc6
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue