mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-30 00:49:47 +02:00
enable screenshots for librw; update librw
This commit is contained in:
@@ -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
Submodule vendor/librw updated: 61b288a9fe...9260bddc66
Reference in New Issue
Block a user