Modified: AppleSGLX/trunk/tests/triangle_glx/triangle_glx_surface-2.c (312 => 313)
--- AppleSGLX/trunk/tests/triangle_glx/triangle_glx_surface-2.c 2009-03-16 21:23:36 UTC (rev 312)
+++ AppleSGLX/trunk/tests/triangle_glx/triangle_glx_surface-2.c 2009-03-17 06:41:06 UTC (rev 313)
@@ -49,7 +49,7 @@
draw(dpy, mainwin);
/* This should destroy the surface. */
if(!glXMakeCurrent(dpy, None, ctx)) {
- fprintf(stderr, "%s: make current None failed!\n");
+ fprintf(stderr, "%s: make current None failed!\n", __func__);
exit(EXIT_FAILURE);
}
@@ -68,7 +68,7 @@
/* This should recreate the surface. */
if(!glXMakeCurrent(dpy, mainwin, ctx)) {
- fprintf(stderr, "%s: make mainwin current failed!\n");
+ fprintf(stderr, "%s: make mainwin current failed!\n", __func__);
exit(EXIT_FAILURE);
}
}