mesa: remove spurious flush in _mesa_DepthRange()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 22 Jun 2017 11:55:05 +0000 (13:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 23 Jun 2017 14:26:25 +0000 (16:26 +0200)
commit2f76b45415b3e12a1080bae12acf762006899083
tree07c9f0bc5b03a3071654897b2850d7357dc5e59b
parentf314a532fdc7af8381586144d2631d9968331f05
mesa: remove spurious flush in _mesa_DepthRange()

I don't think this is actually required, if the depth range
values are different from the ones stored in the context, we
already flush and trigger _NEW_VIEWPORT in
set_depth_range_no_notify().

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/viewport.c