projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dcc035
)
Fix non-swaroop build.
author
Carl Hetherington
<cth@carlh.net>
Wed, 6 Feb 2019 22:55:19 +0000
(22:55 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 6 Feb 2019 22:55:19 +0000
(22:55 +0000)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 7a0f1b5b4445dde2dacb2c4fe4edf4ea7aa27192..cb9e0aa2e85b3d9101d749360284269b3cd1e775 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-331,11
+331,13
@@
FilmViewer::paint_panel ()
{
wxPaintDC dc (_panel);
+#ifdef DCPOMATIC_VARIANT_SWAROOP
if (_background_image) {
dc.Clear ();
maybe_draw_background_image (dc);
return;
}
+#endif
if (!_out_size.width || !_out_size.height || !_film || !_frame || _out_size != _frame->size()) {
dc.Clear ();