ports/graphics/pfstools/files/patch-src-fileformat-rgbeio.cpp
Danilo Egea Gondolfo ce3d606a5b - Update from 1.6.4 to 1.8.5 [1]
- Use options helpers

PR:		ports/191179
Submitted by:	ii@any.com.ru [1]
2014-06-20 17:17:54 +00:00

29 lines
982 B
C++

--- src/fileformat/rgbeio.cpp.orig 2007-12-06 11:00:49.000000000 +0000
+++ src/fileformat/rgbeio.cpp 2014-02-20 19:04:01.556587853 +0000
@@ -141,7 +141,7 @@
// Reading RGBE files
void readRadianceHeader( FILE *file, int &width, int &height, float &exposure )
{
- DEBUG_STR << "RGBE: reading header..." << endl;
+ DEBUG_STR << "RGBE: reading header..." << std::endl;
// read header information
char head[255];
@@ -208,7 +208,7 @@
height = height - width;
}
*/
- DEBUG_STR << "RGBE: image size " << width << "x" << height << endl;
+ DEBUG_STR << "RGBE: image size " << width << "x" << height << std::endl;
}
@@ -389,7 +389,7 @@
int width = X->getCols();
int height = X->getRows();
- DEBUG_STR << "RGBE: writing image " << width << "x" << height << endl;
+ DEBUG_STR << "RGBE: writing image " << width << "x" << height << std::endl;
if( Y->getCols() != width || Y->getRows() != height ||
Z->getCols() != width || Z->getRows() != height )