aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/readpix.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-01-22 19:11:22 -0500
committerMarge Bot <[email protected]>2020-02-11 00:34:57 +0000
commit27dada7ce90315d47184c51879a3f67e99f2bab2 (patch)
tree0747f820f87df49ffec7f94dc0cbebdd52e51901 /src/mesa/main/readpix.c
parentc7c8fe1cc1a972e59885cc14778dbf5a520f48dd (diff)
mesa: remove FLUSH_CURRENT calls that have no effect
Reviewed-by: Mathias Fröhlich <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>
Diffstat (limited to 'src/mesa/main/readpix.c')
-rw-r--r--src/mesa/main/readpix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c
index 556c860d393..6b3685dd82b 100644
--- a/src/mesa/main/readpix.c
+++ b/src/mesa/main/readpix.c
@@ -1035,7 +1035,6 @@ read_pixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format,
GET_CURRENT_CONTEXT(ctx);
FLUSH_VERTICES(ctx, 0);
- FLUSH_CURRENT(ctx, 0);
if (MESA_VERBOSE & VERBOSE_API)
_mesa_debug(ctx, "glReadPixels(%d, %d, %s, %s, %p)\n",