summaryrefslogtreecommitdiffstats
path: root/src/render/Weather.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-05-27 01:16:31 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-05-27 01:16:31 +0200
commit6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2 (patch)
treeb5e4823137a4cc5ffe0ace4cbad22ee272e9bb7c /src/render/Weather.cpp
parentMerge pull request #1 from GTAmodding/miami (diff)
downloadre3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar
re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.gz
re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.bz2
re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.lz
re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.xz
re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.tar.zst
re3-6a32981ba504d197ac3a3bd0cb4423f8e62b4ab2.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 324c63ea..106e2f89 100644
--- a/src/render/Weather.cpp
+++ b/src/render/Weather.cpp
@@ -567,7 +567,7 @@ void CWeather::RenderRainStreaks(void)
RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDONE);
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDONE);
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)TRUE);
- RwRenderStateSet(rwRENDERSTATETEXTURERASTER, RwTextureGetRaster(gpRainDropTex[3]));
+ RwRenderStateSet(rwRENDERSTATETEXTURERASTER, RwTextureGetRaster(gpRainDropTex));
if (RwIm3DTransform(TempBufferRenderVertices, TempBufferVerticesStored, nil, 1))
{
RwIm3DRenderIndexedPrimitive(rwPRIMTYPETRILIST, TempBufferRenderIndexList, TempBufferIndicesStored);