summaryrefslogtreecommitdiffstats
path: root/src/render/Weather.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-08 20:47:58 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-08 20:47:58 +0200
commitb9a20da7d85d06d2b061736120d2713ef6fb92f0 (patch)
tree263e39476db761a8a2a90f3ff873ce61ae125b6c /src/render/Weather.cpp
parentreview fixes (diff)
downloadre3-b9a20da7d85d06d2b061736120d2713ef6fb92f0.tar
re3-b9a20da7d85d06d2b061736120d2713ef6fb92f0.tar.gz
re3-b9a20da7d85d06d2b061736120d2713ef6fb92f0.tar.bz2
re3-b9a20da7d85d06d2b061736120d2713ef6fb92f0.tar.lz
re3-b9a20da7d85d06d2b061736120d2713ef6fb92f0.tar.xz
re3-b9a20da7d85d06d2b061736120d2713ef6fb92f0.tar.zst
re3-b9a20da7d85d06d2b061736120d2713ef6fb92f0.zip
Diffstat (limited to 'src/render/Weather.cpp')
-rw-r--r--src/render/Weather.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Weather.cpp b/src/render/Weather.cpp
index 712e70bf..d3be7fcf 100644
--- a/src/render/Weather.cpp
+++ b/src/render/Weather.cpp
@@ -494,7 +494,7 @@ void CWeather::RenderRainStreaks(void)
RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDONE);
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDONE);
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)TRUE);
- RwRenderStateSet(rwRENDERSTATETEXTURERASTER, gpRainDropTex[3]->raster);
+ RwRenderStateSet(rwRENDERSTATETEXTURERASTER, RwTextureGetRaster(gpRainDropTex[3]));
if (RwIm3DTransform(TempBufferRenderVertices, TempBufferVerticesStored, nil, 1))
{
RwIm3DRenderIndexedPrimitive(rwPRIMTYPETRILIST, TempBufferRenderIndexList, TempBufferIndicesStored);