summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-27 18:22:11 +0100
committeraap <aap@papnet.eu>2020-12-27 18:22:11 +0100
commit00da91b73fa2896bfb248c2aab3cba2c0d31e558 (patch)
tree57f6c363ed221b16c70b8db55e527419dcd21be0 /src
parentadd neo files (diff)
downloadre3-00da91b73fa2896bfb248c2aab3cba2c0d31e558.tar
re3-00da91b73fa2896bfb248c2aab3cba2c0d31e558.tar.gz
re3-00da91b73fa2896bfb248c2aab3cba2c0d31e558.tar.bz2
re3-00da91b73fa2896bfb248c2aab3cba2c0d31e558.tar.lz
re3-00da91b73fa2896bfb248c2aab3cba2c0d31e558.tar.xz
re3-00da91b73fa2896bfb248c2aab3cba2c0d31e558.tar.zst
re3-00da91b73fa2896bfb248c2aab3cba2c0d31e558.zip
Diffstat (limited to 'src')
-rw-r--r--src/extras/custompipes_d3d9.cpp1
-rw-r--r--src/extras/custompipes_gl.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/extras/custompipes_d3d9.cpp b/src/extras/custompipes_d3d9.cpp
index 01de3f78..28bf65d6 100644
--- a/src/extras/custompipes_d3d9.cpp
+++ b/src/extras/custompipes_d3d9.cpp
@@ -246,6 +246,7 @@ worldRenderCB(rw::Atomic *atomic, rw::d3d9::InstanceDataHeader *header)
drawInst(header, inst);
inst++;
}
+ d3d::setTexture(1, nil);
}
void
diff --git a/src/extras/custompipes_gl.cpp b/src/extras/custompipes_gl.cpp
index 4cd6607b..3faa31ef 100644
--- a/src/extras/custompipes_gl.cpp
+++ b/src/extras/custompipes_gl.cpp
@@ -253,6 +253,7 @@ worldRenderCB(rw::Atomic *atomic, rw::gl3::InstanceDataHeader *header)
drawInst(header, inst);
inst++;
}
+ setTexture(1, nil);
#ifndef RW_GL_USE_VAOS
disableAttribPointers(header->attribDesc, header->numAttribs);
#endif