summaryrefslogtreecommitdiff
path: root/src/rw/RwHelper.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-10-24 21:56:04 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2020-10-25 01:21:18 +0300
commitde09a80a357dbfdba2a5272c2181b6c5726f4c79 (patch)
tree08ea9aae161b863400f4be13e06b7c9c679c6c17 /src/rw/RwHelper.cpp
parentd1394c69946032f40109bc12ece5549a93dfde79 (diff)
Messages fix and update librw
Diffstat (limited to 'src/rw/RwHelper.cpp')
-rw-r--r--src/rw/RwHelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index 85418edd..503027af 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -549,12 +549,14 @@ CameraSize(RwCamera * camera, RwRect * rect,
if( raster )
{
RwRasterDestroy(raster);
+ camera->frameBuffer = nil;
}
zRaster = RwCameraGetZRaster(camera);
if( zRaster )
{
RwRasterDestroy(zRaster);
+ camera->zBuffer = nil;
}
/*