summaryrefslogtreecommitdiffstats
path: root/src/skel
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-11 20:51:13 +0100
committeraap <aap@papnet.eu>2021-02-12 00:06:54 +0100
commitf3bfdd78571f9335f2274b047b127747457a8e79 (patch)
treef81772ce8d40f5956bb2677c1dd6e0826eb11e3f /src/skel
parentMerge remote-tracking branch 'origin/master' (diff)
downloadre3-f3bfdd78571f9335f2274b047b127747457a8e79.tar
re3-f3bfdd78571f9335f2274b047b127747457a8e79.tar.gz
re3-f3bfdd78571f9335f2274b047b127747457a8e79.tar.bz2
re3-f3bfdd78571f9335f2274b047b127747457a8e79.tar.lz
re3-f3bfdd78571f9335f2274b047b127747457a8e79.tar.xz
re3-f3bfdd78571f9335f2274b047b127747457a8e79.tar.zst
re3-f3bfdd78571f9335f2274b047b127747457a8e79.zip
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 b413a1ce..b44e5750 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -204,6 +204,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 c00d6075..7317356c 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -259,6 +259,7 @@ psGrabScreen(RwCamera *pCamera)
}
#else
rw::Image *image = RwCameraGetRaster(pCamera)->toImage();
+ image->removeMask();
if(image)
return image;
#endif