summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2010-01-03 18:16:14 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-03 18:16:14 +0200
commitfc5c668f469be9860c5a92ac16dea57b3fb29534 (patch)
tree29e958c32980889dce1aa119056902ceadbed0e4
parent4202ee3945bdcbe78326562b49817c086dc67e18 (diff)
downloadspice-fc5c668f469be9860c5a92ac16dea57b3fb29534.tar.gz
spice-fc5c668f469be9860c5a92ac16dea57b3fb29534.tar.xz
spice-fc5c668f469be9860c5a92ac16dea57b3fb29534.zip
client: restore gl_fbo and gl_pbuff canavas type options
-rw-r--r--client/application.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/application.cpp b/client/application.cpp
index 778d1031..c253cccc 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -1491,6 +1491,10 @@ bool Application::set_canvas_option(CmdLineParser& parser, char *val)
#ifdef WIN32
canvas_types["gdi"] = CANVAS_OPTION_GDI;
#endif
+#ifdef USE_OGL
+ canvas_types["gl_fbo"] = CANVAS_OPTION_OGL_FBO;
+ canvas_types["gl_pbuff"] = CANVAS_OPTION_OGL_PBUFF;
+#endif
_canvas_types.clear();
do {
CanvasNamesMap::iterator iter = canvas_types.find(val);