mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 03:10:07 +00:00
enable screenshots for librw; update librw
This commit is contained in:
parent
c7c7eff918
commit
24de9f92e8
|
@ -216,6 +216,10 @@ psGrabScreen(RwCamera *pCamera)
|
|||
RwImageSetFromRaster(pImage, pRaster);
|
||||
return pImage;
|
||||
}
|
||||
#else
|
||||
rw::Image *image = RwCameraGetRaster(pCamera)->toImage();
|
||||
if(image)
|
||||
return image;
|
||||
#endif
|
||||
return nil;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
2
vendor/librw
vendored
2
vendor/librw
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 61b288a9fe72ae4073c0ac5fd2a5815ed510c8c8
|
||||
Subproject commit 9260bddc66f70eb51adf0749fa835fed1562c178
|
Loading…
Reference in a new issue