[Spice-devel] [PATCH] - fix for noopengl patch for server
Alon Levy
alevy at redhat.com
Wed Jun 30 10:28:22 PDT 2010
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).
diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c
index 715bfb6..539c18e 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));
More information about the Spice-devel
mailing list