Remove GL context accessor and hence lock.
[dcpomatic.git] / src / wx / audio_plot.cc
index cabbd206af5e0e22302e8d7decddc325bc3377c6..3da7a50ff2c57dfe515e8a0c16c7c66d816d3dcd 100644 (file)
@@ -26,6 +26,7 @@
 #include <wx/graphics.h>
 #include <boost/bind.hpp>
 #include <iostream>
+#include <cfloat>
 
 using std::cout;
 using std::vector;
@@ -36,6 +37,7 @@ using std::map;
 using boost::bind;
 using boost::optional;
 using boost::shared_ptr;
+using namespace dcpomatic;
 
 int const AudioPlot::_minimum = -70;
 int const AudioPlot::_cursor_size = 8;