mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 08:11:49 +01:00
enable screenshots for librw
This commit is contained in:
parent
8e825fa629
commit
6df52f06b6
@ -202,6 +202,10 @@ psGrabScreen(RwCamera *pCamera)
|
|||||||
RwImageSetFromRaster(pImage, pRaster);
|
RwImageSetFromRaster(pImage, pRaster);
|
||||||
return pImage;
|
return pImage;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
rw::Image *image = RwCameraGetRaster(pCamera)->toImage();
|
||||||
|
if(image)
|
||||||
|
return image;
|
||||||
#endif
|
#endif
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
@ -249,6 +249,10 @@ psGrabScreen(RwCamera *pCamera)
|
|||||||
RwImageSetFromRaster(pImage, pRaster);
|
RwImageSetFromRaster(pImage, pRaster);
|
||||||
return pImage;
|
return pImage;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
rw::Image *image = RwCameraGetRaster(pCamera)->toImage();
|
||||||
|
if(image)
|
||||||
|
return image;
|
||||||
#endif
|
#endif
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user