Module: Mesa Branch: master Commit: 7f7487f262046616cf99ba665a83d1a8eae46503 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f7487f262046616cf99ba665a83d1a8eae46503
Author: Samuel Pitoiset <[email protected]> Date: Thu Jun 22 14:55:24 2017 +0200 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 <[email protected]> Reviewed-by: Brian Paul <[email protected]> --- src/mesa/main/viewport.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c index d66fdf26ed..67735b0862 100644 --- a/src/mesa/main/viewport.c +++ b/src/mesa/main/viewport.c @@ -129,7 +129,6 @@ void GLAPIENTRY _mesa_Viewport(GLint x, GLint y, GLsizei width, GLsizei height) { GET_CURRENT_CONTEXT(ctx); - FLUSH_VERTICES(ctx, 0); if (MESA_VERBOSE & VERBOSE_API) _mesa_debug(ctx, "glViewport %d %d %d %d\n", x, y, width, height); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
