summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChad Versace <chadversary@chromium.org>2018-04-07 13:01:15 -0700
committerChad Versace <chadversary@chromium.org>2018-08-07 11:11:05 -0700
commiteabf59791e6fc553d1a882341dfca628cd5fc66d (patch)
treec7821589c6616683416f529820f585405c867592 /include
parentf48f9a78da24df762ffceab9c0c136a500a4e316 (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 <tapani.palli@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions