summaryrefslogtreecommitdiffstats
path: root/server/red_dispatcher.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-21 13:06:37 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-03 14:44:11 +0200
commite0c20725c8c7b516ed500b570fcf134534efd6b3 (patch)
treeca604891742f134e4d30390c97a3714e410fde8f /server/red_dispatcher.c
parentc1b7ecac3f51a2818bf7abd00d27f0475b507ba1 (diff)
downloadspice-e0c20725c8c7b516ed500b570fcf134534efd6b3.tar.gz
spice-e0c20725c8c7b516ed500b570fcf134534efd6b3.tar.xz
spice-e0c20725c8c7b516ed500b570fcf134534efd6b3.zip
s/USE_OGL/USE_OPENGL
This is more explicit about what it does, and not much longer
Diffstat (limited to 'server/red_dispatcher.c')
-rw-r--r--server/red_dispatcher.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c
index 8b3d0ffc..19d6e8da 100644
--- a/server/red_dispatcher.c
+++ b/server/red_dispatcher.c
@@ -32,9 +32,9 @@
#include "red_worker.h"
#include "quic.h"
#include "reds_sw_canvas.h"
-#ifdef USE_OGL
+#ifdef USE_OPENGL
#include "reds_gl_canvas.h"
-#endif // USE_OGL
+#endif // USE_OPENGL
#include "reds.h"
#include "red_dispatcher.h"
#include "red_parse_qxl.h"
@@ -140,7 +140,7 @@ typedef struct RendererInfo {
static RendererInfo renderers_info[] = {
{RED_RENDERER_SW, "sw"},
-#ifdef USE_OGL
+#ifdef USE_OPENGL
{RED_RENDERER_OGL_PBUF, "oglpbuf"},
{RED_RENDERER_OGL_PIXMAP, "oglpixmap"},
#endif
@@ -496,9 +496,9 @@ RedDispatcher *red_dispatcher_init(QXLInstance *qxl)
quic_init();
sw_canvas_init();
-#ifdef USE_OGL
+#ifdef USE_OPENGL
gl_canvas_init();
-#endif // USE_OGL
+#endif // USE_OPENGL
if (socketpair(AF_LOCAL, SOCK_STREAM, 0, channels) == -1) {
red_error("socketpair failed %s", strerror(errno));