summaryrefslogtreecommitdiffstats
path: root/src/extras/custompipes_gl.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-19 19:07:32 +0100
committeraap <aap@papnet.eu>2020-11-19 19:07:32 +0100
commit07fe099b4e1fd877176f2b2947841ee82aa91ed0 (patch)
treeb76756d54baef5a3ee506875c866cd8a5947242d /src/extras/custompipes_gl.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-07fe099b4e1fd877176f2b2947841ee82aa91ed0.tar
re3-07fe099b4e1fd877176f2b2947841ee82aa91ed0.tar.gz
re3-07fe099b4e1fd877176f2b2947841ee82aa91ed0.tar.bz2
re3-07fe099b4e1fd877176f2b2947841ee82aa91ed0.tar.lz
re3-07fe099b4e1fd877176f2b2947841ee82aa91ed0.tar.xz
re3-07fe099b4e1fd877176f2b2947841ee82aa91ed0.tar.zst
re3-07fe099b4e1fd877176f2b2947841ee82aa91ed0.zip
Diffstat (limited to 'src/extras/custompipes_gl.cpp')
-rw-r--r--src/extras/custompipes_gl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/extras/custompipes_gl.cpp b/src/extras/custompipes_gl.cpp
index 475680aa..4cd6607b 100644
--- a/src/extras/custompipes_gl.cpp
+++ b/src/extras/custompipes_gl.cpp
@@ -133,6 +133,8 @@ vehicleRenderCB(rw::Atomic *atomic, rw::gl3::InstanceDataHeader *header)
inst++;
}
+ setTexture(1, nil);
+
SetRenderState(SRCBLEND, BLENDSRCALPHA);
#ifndef RW_GL_USE_VAOS