diff options
| author | Jürgen Löb <juergen.loeb@main-host.de> | 2011-03-08 19:34:33 +0100 |
|---|---|---|
| committer | Martin Lambers <marlam@marlam.de> | 2011-03-08 19:34:33 +0100 |
| commit | 1bae185ccbb12a166788cdb8d70ea158e5e08dea (patch) | |
| tree | c4944be2709aa99f414dfefe3bb192d775048443 | |
| parent | 0a703cc26bdc6773b96dd8d5be27904fc2f6ad9c (diff) | |
| download | bino-1bae185ccbb12a166788cdb8d70ea158e5e08dea.tar.gz | |
Disable alpha in the GL format.
This avoids problems with OpenGL implementations that do not support alpha with
quad-buffer contexts.
| -rw-r--r-- | src/video_output_qt.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_output_qt.cpp b/src/video_output_qt.cpp index 6c1718b..e37a701 100644 --- a/src/video_output_qt.cpp +++ b/src/video_output_qt.cpp @@ -248,7 +248,11 @@ video_output_qt::video_output_qt(bool benchmark, video_container_widget *contain { _container_widget = new video_container_widget(NULL); } - _format.setAlpha(true); + // Alpha is disabled for now, because we do not use it yet and some OpenGL + // implementations do not support Alpha with a quad-buffer context according to + // <http://lists.nongnu.org/archive/html/bino-list/2011-03/msg00011.html>. + // However, we may need to re-enable it for subtitle or OSD support. + //_format.setAlpha(true); _format.setDoubleBuffer(true); if (!benchmark) { |
