summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2018-04-07 13:01:15 -0700
committerChad Versace <[email protected]>2018-08-07 11:11:05 -0700
commiteabf59791e6fc553d1a882341dfca628cd5fc66d (patch)
treec7821589c6616683416f529820f585405c867592 /src/mesa
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 <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions