summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-09-01 09:22:18 +0200
committerDanny Baumann <dannybaumann@web.de>2008-09-01 09:22:18 +0200
commit640f1a7be326a047a15bdfc5f0634d2e244a420b (patch)
treec3dc2f24981ee8854c80eec15cb715ed6d8c01ce
parent9034cfaa267ebd8e9d70f94d8c468d8be5312d9b (diff)
downloadmag-640f1a7be326a047a15bdfc5f0634d2e244a420b.tar.gz
mag-640f1a7be326a047a15bdfc5f0634d2e244a420b.tar.bz2
Track core changes.compiz-0.8
-rw-r--r--mag.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mag.c b/mag.c
index ffa59e5..5496927 100644
--- a/mag.c
+++ b/mag.c
@@ -177,7 +177,7 @@ loadFragmentProgram (CompScreen *s)
glGetIntegerv (GL_PROGRAM_ERROR_POSITION_ARB, &errorPos);
if (glGetError () != GL_NO_ERROR || errorPos != -1)
{
- compLogMessage (s->display, "mag", CompLogLevelError,
+ compLogMessage ("mag", CompLogLevelError,
"failed to fisheye program");
(*s->deletePrograms) (1, &ms->program);
@@ -205,7 +205,7 @@ loadImages (CompScreen *s)
if (!ms->overlay.loaded)
{
- compLogMessage (s->display, "mag", CompLogLevelWarn,
+ compLogMessage ("mag", CompLogLevelWarn,
"Could not load magnifier overlay image \"%s\"!",
magGetOverlay (s));
return FALSE;
@@ -218,7 +218,7 @@ loadImages (CompScreen *s)
if (!ms->mask.loaded)
{
- compLogMessage (s->display, "mag", CompLogLevelWarn,
+ compLogMessage ("mag", CompLogLevelWarn,
"Could not load magnifier mask image \"%s\"!",
magGetOverlay (s));
ms->overlay.loaded = FALSE;
@@ -230,7 +230,7 @@ loadImages (CompScreen *s)
if (ms->overlay.width != ms->mask.width ||
ms->overlay.height != ms->mask.height)
{
- compLogMessage (s->display, "mag", CompLogLevelWarn,
+ compLogMessage ("mag", CompLogLevelWarn,
"Image dimensions do not match!");
ms->overlay.loaded = FALSE;
finiTexture (s, &ms->overlay.tex);
@@ -1156,7 +1156,7 @@ magInitScreen (CompPlugin *p,
}
if (!s->fragmentProgram)
- compLogMessage (s->display, "mag", CompLogLevelWarn,
+ compLogMessage ("mag", CompLogLevelWarn,
"GL_ARB_fragment_program not supported. "
"Fisheye mode will not work.");