summaryrefslogtreecommitdiffstats
path: root/src/skel/win
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-21 21:19:12 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-21 21:19:12 +0100
commitc8e715c33bb588dff96ae3477d6a42653c7cc14c (patch)
treedf6305e17d6d6e490c45514b3143aef3d46093f3 /src/skel/win
parentMerge branch 'lcs-dev' into lcs (diff)
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
downloadre3-c8e715c33bb588dff96ae3477d6a42653c7cc14c.tar
re3-c8e715c33bb588dff96ae3477d6a42653c7cc14c.tar.gz
re3-c8e715c33bb588dff96ae3477d6a42653c7cc14c.tar.bz2
re3-c8e715c33bb588dff96ae3477d6a42653c7cc14c.tar.lz
re3-c8e715c33bb588dff96ae3477d6a42653c7cc14c.tar.xz
re3-c8e715c33bb588dff96ae3477d6a42653c7cc14c.tar.zst
re3-c8e715c33bb588dff96ae3477d6a42653c7cc14c.zip
Diffstat (limited to 'src/skel/win')
-rw-r--r--src/skel/win/win.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 1fd959f2..a5f721c8 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -257,6 +257,10 @@ psGrabScreen(RwCamera *pCamera)
RwImageSetFromRaster(pImage, pRaster);
return pImage;
}
+#else
+ rw::Image *image = RwCameraGetRaster(pCamera)->toImage();
+ if(image)
+ return image;
#endif
return nil;
}