diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-21 21:19:12 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-21 21:19:12 +0100 |
commit | c8e715c33bb588dff96ae3477d6a42653c7cc14c (patch) | |
tree | df6305e17d6d6e490c45514b3143aef3d46093f3 /src/skel/win | |
parent | Merge branch 'lcs-dev' into lcs (diff) | |
parent | Merge remote-tracking branch 'origin/miami' into lcs (diff) | |
download | re3-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.cpp | 4 |
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; } |