diff options
author | Chad Versace <[email protected]> | 2018-04-07 13:01:15 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2018-08-07 11:11:05 -0700 |
commit | eabf59791e6fc553d1a882341dfca628cd5fc66d (patch) | |
tree | c7821589c6616683416f529820f585405c867592 /scons | |
parent | f48f9a78da24df762ffceab9c0c136a500a4e316 (diff) |
egl/dri2: In dri2_make_current, return early on failure
This pulls an 'else' block into the function's main body, making the
code easier to follow.
Without this change, the upcoming EGL_KHR_mutable_render_buffer patch
transforms dri2_make_current() into spaghetti.
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions