summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDidier Roche <didrocks@ubuntu.com>2010-11-23 18:28:16 +0100
committerDidier Roche <didrocks@ubuntu.com>2010-11-23 18:28:16 +0100
commit7c7b898f17ab5713d59962ef7d848ceef9892abb (patch)
tree74da12182179f33871e418fc9ee38d3da0d11e34 /plugins
parentc12732c019f5c21bc5d9fc0e2a17f00c17669893 (diff)
downloadcompiz-with-glib-mainloop-7c7b898f17ab5713d59962ef7d848ceef9892abb.tar.gz
compiz-with-glib-mainloop-7c7b898f17ab5713d59962ef7d848ceef9892abb.tar.bz2
fix typos and leftover from previous commit
Diffstat (limited to 'plugins')
-rw-r--r--plugins/opengl/src/screen.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/opengl/src/screen.cpp b/plugins/opengl/src/screen.cpp
index 98f5d87..5fe1cc0 100644
--- a/plugins/opengl/src/screen.cpp
+++ b/plugins/opengl/src/screen.cpp
@@ -245,7 +245,8 @@ GLScreen::GLScreen (CompScreen *s) :
CompLogLevelFatal,
"Software rendering detected");
screen->handleCompizEvent ("opengl", "fatal_fallback", o);
- setFaipriv->fallbackAndFailreturn
+ setFailed ();
+ return;
}
if (strstr (glExtensions, "GL_ARB_texture_non_power_of_two"))
@@ -486,7 +487,7 @@ GLScreen::GLScreen (CompScreen *s) :
compLogMessage ("opengl", CompLogLevelFatal,
"No GLXFBConfig for default depth, "
"this isn't going to work.");
- priv->screen->handleCompizEvent ("opengl", "fatal_fallback", o);
+ screen->handleCompizEvent ("opengl", "fatal_fallback", o);
setFailed ();
return;
}