Jump to content

[SOLVED] Possible missing statement in engine/framework/Image.cpp


photo

Recommended Posts

Hello,

 

In the 2013-02-11 engine version, there is an empty line at line 3047 in the function Image::convertToFormat of the source file "Image.cpp" which lies in engine/framework, within the following if statement:

...
3045    // same format
3046    if(format == new_format) {
3047
3048    }
...

I am not sure but it looks like a return statement is missing in case the conversion function is called with the same format as the current one.

Link to comment
×
×
  • Create New...