Skip to content

Commit

Permalink
Generate RGB EXRs; the alpha channel wasn't being used anyway.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmp committed Oct 1, 2018
1 parent c0986cf commit fe3e55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/imageio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static void WriteImageEXR(const std::string &name, const Float *pixels,

try {
RgbaOutputFile file(name.c_str(), displayWindow, dataWindow,
WRITE_RGBA);
WRITE_RGB);
file.setFrameBuffer(hrgba - xOffset - yOffset * xRes, 1, xRes);
file.writePixels(yRes);
} catch (const std::exception &exc) {
Expand Down

0 comments on commit fe3e55d

Please sign in to comment.