diff options
author | Ilia Mirkin <[email protected]> | 2016-02-05 00:47:03 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-02-05 00:49:51 -0500 |
commit | 2065e380b2edafd6e38aa5bb0ff222dc1f6f5ad8 (patch) | |
tree | 4c7c5cffd46181ad47307bd0c38fbf296560f5ef /src/gallium/winsys | |
parent | 03b3eb90d7e0ca90a75eda97eefa8c99aacdf4d9 (diff) |
nvc0: avoid negatives in PUSH_SPACE argument
Fixup to commit 03b3eb90d - the number of buffers could be larger than
the number of elements, in which case we'd pass a negative argument to
PUSH_SPACE, which would be bad. While we're at it, merge it with the
other PUSH_SPACE at the top of the function.
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/winsys')
0 files changed, 0 insertions, 0 deletions