[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r12066: don't try to build Xv suppor
From: |
Rob Savoye |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r12066: don't try to build Xv support if it's not supported. |
Date: |
Tue, 16 Mar 2010 09:08:20 -0600 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 12066
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Tue 2010-03-16 09:08:20 -0600
message:
don't try to build Xv support if it's not supported.
modified:
gui/gtk_canvas.cpp
=== modified file 'gui/gtk_canvas.cpp'
--- a/gui/gtk_canvas.cpp 2010-03-14 00:17:15 +0000
+++ b/gui/gtk_canvas.cpp 2010-03-16 15:08:20 +0000
@@ -25,7 +25,6 @@
#include "gtk_canvas.h"
#include "Renderer.h"
-
#include "rc.h"
#include "log.h"
#include "gtk_glue.h"
@@ -275,13 +274,16 @@
}
#endif
#ifdef RENDERER_AGG
+#ifdef HAVE_XV
if (hwaccel == "xv") {
// Use the X11 XV extension, which works on most GPUs.
canvas->glue.reset(new gnash::GtkAggXvGlue);
// Set the hardware acclerator to the next one to try
// if initializing fails.
next_hwaccel = "none";
- } else {
+ } else
+#endif
+ {
canvas->glue.reset(new gnash::GtkAggGlue);
}
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r12066: don't try to build Xv support if it's not supported.,
Rob Savoye <=