summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-11-28 23:27:26 +0100
committerNicolas Bruguier <nicolas.bruguier@supersonicimagine.fr>2008-11-29 14:08:50 +0100
commit8b06b5884ebe0992376ea6e1319822002b681213 (patch)
tree23cd9fc8639c34fa4063cea966c825f200411f3f /examples
parent190cece94e3e97cd85e61e994214cb01ea2d610f (diff)
[agl] fix agl builds
Fix agl build.
Diffstat (limited to 'examples')
-rw-r--r--examples/glitzinfo/Makefile.am2
-rw-r--r--examples/glitzinfo/glitzinfo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/glitzinfo/Makefile.am b/examples/glitzinfo/Makefile.am
index 1bceebe..22b74f7 100644
--- a/examples/glitzinfo/Makefile.am
+++ b/examples/glitzinfo/Makefile.am
@@ -9,7 +9,7 @@ glitzinfo_agl_CFLAGS = $(GLITZ_AGL_CFLAGS) -DGLITZ_AGL_BACKEND
glitzinfo_agl_SOURCES = glitzinfo.c
-glitzinfo_agl_LDADD = $(GLITZ_LIB) $(GLITZ_AGL_LIBS)
+glitzinfo_agl_LDADD = $(GLITZ_LIB) $(GLITZ_AGL_LIBS) $(CARBON_LIBS)
endif
if GLITZ_BUILD_EGL_BACKEND
diff --git a/examples/glitzinfo/glitzinfo.c b/examples/glitzinfo/glitzinfo.c
index b98522f..e5eb7e6 100644
--- a/examples/glitzinfo/glitzinfo.c
+++ b/examples/glitzinfo/glitzinfo.c
@@ -226,7 +226,7 @@ main (int argc, char **argv)
glitz_agl_init ();
- dformat = glitz_agl_find_drawable_format (0, 0, 0);
+ dformat = glitz_agl_find_window_format (0, 0, 0);
if (!dformat)
{
fprintf (stderr, "Error: couldn't find drawable format\n");