Mesa (master): mesa: remove stray _mesa_finish() call in _mesa_CopyPixels()

Brian Paul brianp at kemper.freedesktop.org
Mon Mar 7 21:01:25 UTC 2011


Module: Mesa
Branch: master
Commit: 51db2045b488477230d9a31b60779f90f0f4bf64
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51db2045b488477230d9a31b60779f90f0f4bf64

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Mar  7 14:01:09 2011 -0700

mesa: remove stray _mesa_finish() call in _mesa_CopyPixels()

Leftover debug code from 6364d75008b4fa580c1cb47c59ba1cf3e0caa6cd.

---

 src/mesa/main/drawpix.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c
index 98e82ef..fb86036 100644
--- a/src/mesa/main/drawpix.c
+++ b/src/mesa/main/drawpix.c
@@ -136,8 +136,6 @@ _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
    GET_CURRENT_CONTEXT(ctx);
    ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
 
-   _mesa_finish(ctx);
-
    if (MESA_VERBOSE & VERBOSE_API)
       _mesa_debug(ctx,
                   "glCopyPixels(%d, %d, %d, %d, %s) // from %s to %s at %d, %d\n",




More information about the mesa-commit mailing list