From: Carl Hetherington Date: Wed, 6 Feb 2019 22:55:19 +0000 (+0000) Subject: Fix non-swaroop build. X-Git-Tag: v2.13.114~3 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=43f7f313de2aeb05cff65433577bd620721f2589;p=dcpomatic.git Fix non-swaroop build. --- diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 7a0f1b5b4..cb9e0aa2e 100644 --- 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 ();