Commit 460fc1e6 authored by Brian Paul's avatar Brian Paul

copytexsubimage: print GL enum strings instead of hex values

parent 77351118
......@@ -210,9 +210,9 @@ do_row(int srcy, int srcw, int srch, GLenum target)
glDisable(target);
glDeleteTextures(1, &texname);
printf("Checking 0x%04x, rect 1:\n", target);
printf("Checking %s, rect 1:\n", piglit_get_gl_enum_name(target));
pass &= check_results(dstx, dsty, srcw, srch);
printf("Checking 0x%04x, rect 2:\n", target);
printf("Checking %s, rect 2:\n", piglit_get_gl_enum_name(target));
pass &= check_results(dstx2, dsty2, srcw, srch);
return pass;
......
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