Attempt to fix a build problem (ambiguous PixelType error when compiled on Mac x86)
This commit is contained in:
@@ -589,7 +589,7 @@ bool ExrEncoder::write( const Mat& img, const vector<int>& )
|
||||
int step = img.step;
|
||||
|
||||
Header header( width, height );
|
||||
PixelType type;
|
||||
Imf::PixelType type;
|
||||
|
||||
if(depth == 8)
|
||||
type = HALF;
|
||||
|
||||
Reference in New Issue
Block a user