Skip to content
Snippets Groups Projects
Commit ceec2cfe authored by Luigi Santivetti's avatar Luigi Santivetti Committed by Eric Engestrom
Browse files

dri2: dri2_make_current() fold multiple if blocks


dri2_make_current() has become long and convoluted. Address
this by folding together multiple if blocks checking for the
same variable.

Cc: mesa-stable
Signed-off-by: default avatarLuigi Santivetti <luigi.santivetti@imgtec.com>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Part-of: <mesa/mesa!5707>
(cherry picked from commit 6b12999e)
parent b91d522b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment