Browse Source

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

tags/mesa-7.6.1-rc2-1
Vinson Lee 16 years ago
parent
commit
2cd2341ce8
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      progs/tests/texdown.c

+ 1
- 2
progs/tests/texdown.c View File

@@ -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)
;

Loading…
Cancel
Save