Print extensions string instead of program target. Use less indentation to match other sections.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105285 --- src/xdemos/glinfo_common.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c index 7ffbeac..57dccc8 100644 --- a/src/xdemos/glinfo_common.c +++ b/src/xdemos/glinfo_common.c @@ -419,10 +419,10 @@ print_program_limits(GLenum target, int i; if (target == GL_VERTEX_PROGRAM_ARB) { - printf(" GL_VERTEX_PROGRAM_ARB:\n"); + printf(" GL_ARB_vertex_program:\n"); } else if (target == GL_FRAGMENT_PROGRAM_ARB) { - printf(" GL_FRAGMENT_PROGRAM_ARB:\n"); + printf(" GL_ARB_fragment_program:\n"); } else { return; /* something's wrong */ @@ -431,14 +431,14 @@ print_program_limits(GLenum target, for (i = 0; common_limits[i].token; i++) { extfuncs->GetProgramivARB(target, common_limits[i].token, max); if (glGetError() == GL_NO_ERROR) { - printf(" %s = %d\n", common_limits[i].name, max[0]); + printf(" %s = %d\n", common_limits[i].name, max[0]); } } if (target == GL_FRAGMENT_PROGRAM_ARB) { for (i = 0; fragment_limits[i].token; i++) { extfuncs->GetProgramivARB(target, fragment_limits[i].token, max); if (glGetError() == GL_NO_ERROR) { - printf(" %s = %d\n", fragment_limits[i].name, max[0]); + printf(" %s = %d\n", fragment_limits[i].name, max[0]); } } } -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev