diff options
author | Alon Levy <alevy@redhat.com> | 2010-06-30 13:28:22 -0400 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-07-01 10:35:46 +0200 |
commit | 2ec023b89219280aae83429d168a8794abef6e14 (patch) | |
tree | 279a154c03bcfedaf18b6c13806015898866afed /server/red_dispatcher.c | |
parent | 37b4ae416284eecde04459cd5bb7c7b70bd6481e (diff) | |
download | spice-2ec023b89219280aae83429d168a8794abef6e14.tar.gz spice-2ec023b89219280aae83429d168a8794abef6e14.tar.xz spice-2ec023b89219280aae83429d168a8794abef6e14.zip |
- fix for noopengl patch for server
I still don't have commit access (can't ssh to anarchy) so if someone could commit this (alex) thanks,
Alon
Fix for no opengl patch - required to compile the server (fixes missing symbol gl_canvas_init).
Diffstat (limited to 'server/red_dispatcher.c')
-rw-r--r-- | server/red_dispatcher.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c index 715bfb6e..539c18e1 100644 --- a/server/red_dispatcher.c +++ b/server/red_dispatcher.c @@ -29,7 +29,9 @@ #include "red_worker.h" #include "quic.h" #include "sw_canvas.h" +#ifdef USE_OGL #include "gl_canvas.h" +#endif // USE_OGL #include "reds.h" #include "red_dispatcher.h" #include "red_parse_qxl.h" @@ -496,7 +498,9 @@ RedDispatcher *red_dispatcher_init(QXLInstance *qxl) quic_init(); sw_canvas_init(); +#ifdef USE_OGL gl_canvas_init(); +#endif // USE_OGL if (socketpair(AF_LOCAL, SOCK_STREAM, 0, channels) == -1) { red_error("socketpair failed %s", strerror(errno)); |