mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Auto-guess format of thumbnail from .jpg file extension
This commit is contained in:
@@ -270,6 +270,8 @@ struct ThumbCommand : public Command
|
||||
type = FileType::TGA;
|
||||
else if(dot != NULL && strstr(dot, "bmp"))
|
||||
type = FileType::BMP;
|
||||
else if(dot != NULL && strstr(dot, "jpg"))
|
||||
type = FileType::JPG;
|
||||
else
|
||||
std::cerr << "Couldn't guess format from '" << outfile << "', defaulting to jpg."
|
||||
<< std::endl;
|
||||
|
||||
Reference in New Issue
Block a user