Mesa (master): progs/tests: print more info in copypixrate.c

Brian Paul brianp at kemper.freedesktop.org
Fri May 21 16:00:20 UTC 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 19 11:23:26 2010 -0600

progs/tests: print more info in copypixrate.c

---

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

diff --git a/progs/tests/copypixrate.c b/progs/tests/copypixrate.c
index f63d59f..e7d8343 100644
--- a/progs/tests/copypixrate.c
+++ b/progs/tests/copypixrate.c
@@ -270,6 +270,9 @@ main(int argc, char *argv[])
    printf("Draw Buffer: %s\n", (Buffer == GL_BACK) ? "Back" : "Front");
    Init();
 
+   printf("Mode: %s\n", (UseBlit ? "glBlitFramebuffer" : "glCopyPixels"));
+   printf("Alpha Test: %s\n", (AlphaTest ? "yes" : "no"));
+
    glutMainLoop();
    return 0;
 }




More information about the mesa-commit mailing list