summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate-glitz-wgl.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-01-03 22:51:28 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-01-03 22:56:17 +0000
commit388ae177e4100698289819429fa1f8e6958d1c60 (patch)
treee97f0c4bb3ee5d9ac9e5e095a26582f8e888f748 /boilerplate/cairo-boilerplate-glitz-wgl.c
parent5f816ccd25d1cd303fc1e9e44e80c1207b2a424a (diff)
[boilerplate] Remove CAIRO_BOILERPLATE_LOG()
The variadic macro is only used within boilerplate/ so replace it with a simple, and portable, call to fprintf.
Diffstat (limited to 'boilerplate/cairo-boilerplate-glitz-wgl.c')
-rw-r--r--boilerplate/cairo-boilerplate-glitz-wgl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/boilerplate/cairo-boilerplate-glitz-wgl.c b/boilerplate/cairo-boilerplate-glitz-wgl.c
index b11a8189..dfd764f6 100644
--- a/boilerplate/cairo-boilerplate-glitz-wgl.c
+++ b/boilerplate/cairo-boilerplate-glitz-wgl.c
@@ -66,25 +66,25 @@ _cairo_boilerplate_glitz_wgl_create_surface_internal (glitz_format_name_t form
dformat = glitz_wgl_find_pbuffer_format (mask, &templ, 0);
if (!dformat) {
- CAIRO_BOILERPLATE_LOG ("Glitz failed to find pbuffer format for template.");
+ fprintf (stderr, "Glitz failed to find pbuffer format for template.");
goto FAIL;
}
gdraw = glitz_wgl_create_pbuffer_drawable (dformat, width, height);
if (!gdraw) {
- CAIRO_BOILERPLATE_LOG ("Glitz failed to create pbuffer drawable.");
+ fprintf (stderr, "Glitz failed to create pbuffer drawable.");
goto FAIL;
}
format = glitz_find_standard_format (gdraw, formatname);
if (!format) {
- CAIRO_BOILERPLATE_LOG ("Glitz failed to find standard format for drawable.");
+ fprintf (stderr, "Glitz failed to find standard format for drawable.");
goto DESTROY_DRAWABLE;
}
sr = glitz_surface_create (gdraw, format, width, height, 0, NULL);
if (!sr) {
- CAIRO_BOILERPLATE_LOG ("Glitz failed to create a surface.");
+ fprintf (stderr, "Glitz failed to create a surface.");
goto DESTROY_DRAWABLE;
}
@@ -124,7 +124,7 @@ _cairo_boilerplate_glitz_wgl_create_surface (const char *name,
glitz_surface = _cairo_boilerplate_glitz_wgl_create_surface_internal (GLITZ_STANDARD_ARGB32, width, height, NULL);
break;
default:
- CAIRO_BOILERPLATE_LOG ("Invalid content for glitz-wgl test: %d\n", content);
+ fprintf (stderr, "Invalid content for glitz-wgl test: %d\n", content);
goto FAIL;
}