fixed transparent screenshot background if no gamma and no supersampling

This commit is contained in:
Zeno Rogue 2018-12-21 14:44:43 +01:00
parent 261f039ed6
commit 2a45e1340c
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ void default_screenshot_content() {
#if CAP_PNG
void postprocess(string fname, SDL_Surface *sdark, SDL_Surface *sbright) {
if(gamma == 1 && shot_aa == 1) {
if(gamma == 1 && shot_aa == 1 && sdark == sbright) {
IMAGESAVE(sdark, fname.c_str());
return;
}