Mesa (mesa_7_6_branch): progs/tests: Removed unused variable from texdown.c .

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 5 09:23:50 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 2cd2341ce88a3d485f81d920290a9c1d0ab988da
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cd2341ce88a3d485f81d920290a9c1d0ab988da

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec  5 01:22:34 2009 -0800

progs/tests: Removed unused variable from texdown.c.

---

 progs/tests/texdown.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/progs/tests/texdown.c b/progs/tests/texdown.c
index e6881d3..92df01b 100644
--- a/progs/tests/texdown.c
+++ b/progs/tests/texdown.c
@@ -162,7 +162,7 @@ MeasureDownloadRate(void)
    const int image_bytes = align(w * h * BytesPerTexel(Format), ALIGN);
    const int bytes = image_bytes * NR_TEXOBJ;
    GLubyte *orig_texImage, *orig_getImage;
-   GLubyte *texImage, *getImage;
+   GLubyte *texImage;
    GLdouble t0, t1, time;
    int count;
    int i;
@@ -184,7 +184,6 @@ MeasureDownloadRate(void)
    printf("alloc %p %p\n", orig_texImage, orig_getImage);
 
    texImage = (GLubyte *)align((unsigned long)orig_texImage, ALIGN);
-   getImage = (GLubyte *)align((unsigned long)orig_getImage, ALIGN);   
 
    for (i = 1; !(((unsigned long)texImage) & i); i<<=1)
       ;




More information about the mesa-commit mailing list