summaryrefslogtreecommitdiff
path: root/src/skel
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-12 00:29:09 +0100
committeraap <aap@papnet.eu>2021-02-12 00:29:09 +0100
commit879838c9f20d9f166353d4dd5ea486dda6f91921 (patch)
tree27705a876633ea97e95f3ecbbbf666867f653d5e /src/skel
parent031195f11d6ed57c6563ce83536154af3f936b56 (diff)
enable screenshots with F12
Diffstat (limited to 'src/skel')
-rw-r--r--src/skel/glfw/glfw.cpp1
-rw-r--r--src/skel/win/win.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index 8fe1d93f..db9d101a 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -207,6 +207,7 @@ psGrabScreen(RwCamera *pCamera)
}
#else
rw::Image *image = RwCameraGetRaster(pCamera)->toImage();
+ image->removeMask();
if(image)
return image;
#endif
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 6ed02011..89c901b2 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -262,6 +262,7 @@ psGrabScreen(RwCamera *pCamera)
}
#else
rw::Image *image = RwCameraGetRaster(pCamera)->toImage();
+ image->removeMask();
if(image)
return image;
#endif