mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
fixed transparent screenshot background if no gamma and no supersampling
This commit is contained in:
parent
261f039ed6
commit
2a45e1340c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user