Commit 7b5fc921 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

BlankTiles was checking too many pixels for blank images.

parent cc09b214
......@@ -86,7 +86,7 @@ static int BlankTilesDoTest(void)
printf("Checking returned image data.\n");
cb = icetImageGetColorub(image);
for (pixel = 0; pixel < SCREEN_WIDTH*SCREEN_HEIGHT*4; pixel++) {
for (pixel = 0; pixel < my_width*my_height*4; pixel++) {
if (cb[pixel] != 0) {
printf("Found bad pixel!!!!!!!!\n");
result = TEST_FAILED;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment