diff options
author | Brian Paul <[email protected]> | 2013-01-24 16:06:20 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-01-25 15:41:40 -0700 |
commit | b13c534f1479549e53b9896ea4d25d79f8466c24 (patch) | |
tree | 908a930a6d1442e38cd503e759db9cf185e68c9a /src/mesa/state_tracker | |
parent | 8c3f9ea07392177b6de9d946d40f97128fa51632 (diff) |
util: add new error checking code in vbuf helper
Check the return value of calls to u_upload_alloc() and
u_upload_data() and return early if needed.
Since we don't have a way to propagate errors all the way up to
Mesa through pipe_context::draw_vbo(), call debug_warn_once() so
the user might have some clue about OOM errors.
Note: This is a candidate for the 9.0 branch.
Diffstat (limited to 'src/mesa/state_tracker')
0 files changed, 0 insertions, 0 deletions