mesa: remove spurious flush in _mesa_Viewport()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 22 Jun 2017 12:55:24 +0000 (14:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 23 Jun 2017 14:26:25 +0000 (16:26 +0200)
commit7f7487f262046616cf99ba665a83d1a8eae46503
treef4a1c5c1e6f173a6b9340fee72bbd8e9ecc2cbde
parent2f76b45415b3e12a1080bae12acf762006899083
mesa: remove spurious flush in _mesa_Viewport()

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

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