i965: Change a ret == -1 check to ret != 0.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Nov 2017 16:12:45 +0000 (08:12 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 28 Nov 2017 23:23:16 +0000 (15:23 -0800)
commit6b91610fc6082c449f67f1735f06db0e769c36b4
treee7da11518cbad1540e0aa88a9dd41b8eee622395
parent874d41add3ed75e569ff9a94ad7065a082671409
i965: Change a ret == -1 check to ret != 0.

For consistency with most other ret checks.  Suggested by Chris.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_bufmgr.c