Commit 014ba699 authored by Andrey Kamaev's avatar Andrey Kamaev

Attempt to fix a build problem (ambiguous PixelType error when compiled on Mac x86)

parent 0451779d
...@@ -589,7 +589,7 @@ bool ExrEncoder::write( const Mat& img, const vector<int>& ) ...@@ -589,7 +589,7 @@ bool ExrEncoder::write( const Mat& img, const vector<int>& )
int step = img.step; int step = img.step;
Header header( width, height ); Header header( width, height );
PixelType type; Imf::PixelType type;
if(depth == 8) if(depth == 8)
type = HALF; type = HALF;
......
...@@ -81,7 +81,7 @@ protected: ...@@ -81,7 +81,7 @@ protected:
void RGBToGray( float *in, float *out ); void RGBToGray( float *in, float *out );
InputFile *m_file; InputFile *m_file;
PixelType m_type; Imf::PixelType m_type;
Box2i m_datawindow; Box2i m_datawindow;
bool m_ischroma; bool m_ischroma;
const Channel *m_red; const Channel *m_red;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment