RwDestroyRaster(RwRaster *raster);
Description
Destroys the raster.
Arguments
raster Pointer to the raster.
Return Value
TRUE if successful, and FALSE otherwise.
Comments
It is an error to attempt to destroy a textures raster. RwDestroyTexture() destroys both a texture and its raster. This also applies to rasters selected into texture by RwCreateTexture() or RwSetTextureRaster().
RwDestroyCamera() does not destroy a cameras backdrop raster. The backdrop raster should be destroyed by RwDestroyRaster().
See Also