summaryrefslogtreecommitdiffstats
path: root/src/render/2dEffect.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-10-14 17:07:05 +0200
committereray orçunus <erayorcunus@gmail.com>2020-10-17 16:35:26 +0200
commitb98864d134b747c8f594c9194918b93040f88c1f (patch)
tree852ce957f21b35a655c583ba397a7cdceeb59492 /src/render/2dEffect.h
parentupdate librw (diff)
downloadre3-b98864d134b747c8f594c9194918b93040f88c1f.tar
re3-b98864d134b747c8f594c9194918b93040f88c1f.tar.gz
re3-b98864d134b747c8f594c9194918b93040f88c1f.tar.bz2
re3-b98864d134b747c8f594c9194918b93040f88c1f.tar.lz
re3-b98864d134b747c8f594c9194918b93040f88c1f.tar.xz
re3-b98864d134b747c8f594c9194918b93040f88c1f.tar.zst
re3-b98864d134b747c8f594c9194918b93040f88c1f.zip
Diffstat (limited to 'src/render/2dEffect.h')
-rw-r--r--src/render/2dEffect.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/render/2dEffect.h b/src/render/2dEffect.h
index baf07342..8ad2b946 100644
--- a/src/render/2dEffect.h
+++ b/src/render/2dEffect.h
@@ -88,14 +88,10 @@ public:
if(type == EFFECT_LIGHT){
if(light.corona)
RwTextureDestroy(light.corona);
-#ifdef GTA3_1_1_PATCH
light.corona = nil;
-#endif
if(light.shadow)
RwTextureDestroy(light.shadow);
-#ifdef GTA3_1_1_PATCH
light.shadow = nil;
-#endif
}
}
};