st/dri: remove dead code and incorrect comment around make_current
authorMarek Olšák <marek.olsak@amd.com>
Sat, 18 Nov 2017 23:24:40 +0000 (00:24 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 25 Nov 2017 16:16:56 +0000 (17:16 +0100)
commite5148791f65cef066fb20fb44f90fb53f7308f80
tree18eaf7eb1609ade58d9a37ad72caee7e044c37bf
parent6ad83b58e28cbcc84fc7d70b7a52eb3f2f803450
st/dri: remove dead code and incorrect comment around make_current

Core Mesa already handles flushing based on ContextReleaseBehavior,
so the comment is wrong.

Also, old_st is always NULL, because unbind_context always precedes
make_current.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/state_trackers/dri/dri_context.c