diff options
author | Chris Wilson <[email protected]> | 2017-07-31 10:22:44 +0100 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-08-01 21:28:09 -0700 |
commit | f28c2e225668ed7977b301100140f4f7e7bf55e6 (patch) | |
tree | 027641a9748af604799585d02c894958c0273820 /src/loader/loader.h | |
parent | 246690b683cbd1b3e596b8cc3ef1c86b65fb671e (diff) |
i965: Check result of make_surface() for intel_miptree_create_for_bo
Since make_surface() can fail, if the format isn't support by hw or
simlar error, we need to check the result before dereferencing it.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/loader/loader.h')
0 files changed, 0 insertions, 0 deletions