Skip to content

Commit

Permalink
.jpg now can be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
yvt committed Feb 24, 2014
1 parent e86b061 commit ea273fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Core/SdlImageReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ namespace spades {
}

virtual bool CheckExtension(const std::string& fn) {
return EndsWith(fn, ".png");
return EndsWith(fn, ".png") || EndsWith(fn, ".jpg") || EndsWith(fn, ".tif") || EndsWith(fn, ".bmp");
}
} imgReader;

Expand Down

0 comments on commit ea273fc

Please sign in to comment.