aboutsummaryrefslogtreecommitdiffstats
path: root/progs/xdemos/shape.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-06-27 15:34:35 +0000
committerBrian Paul <[email protected]>2000-06-27 15:34:35 +0000
commit498c09040ecd5208326eac2e16ae0473effc4445 (patch)
tree678ec2eb1357ed9834ceb105e821eb775969ae3e /progs/xdemos/shape.c
parent6a06707f598e47a999bbc8d4ee501326a4f3c4ac (diff)
print GL_RENDERER upon startup
Diffstat (limited to 'progs/xdemos/shape.c')
-rw-r--r--progs/xdemos/shape.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/xdemos/shape.c b/progs/xdemos/shape.c
index c91b77a3a52..242dd2485cb 100644
--- a/progs/xdemos/shape.c
+++ b/progs/xdemos/shape.c
@@ -1,4 +1,4 @@
-/* $Id: shape.c,v 1.2 2000/06/27 15:33:44 brianp Exp $ */
+/* $Id: shape.c,v 1.3 2000/06/27 15:34:35 brianp Exp $ */
/*
* Example of using the X "shape" extension with OpenGL: render a spinning
@@ -374,6 +374,7 @@ int main(int argc, char *argv[])
glXMakeCurrent(dpy, win, glCtx);
+ printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER));
printf("Press ESC to exit.\n");
printf("Press up/down to change window shape.\n");