From 00da91b73fa2896bfb248c2aab3cba2c0d31e558 Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 27 Dec 2020 18:22:11 +0100 Subject: tiny rendering fixes --- src/extras/custompipes_d3d9.cpp | 1 + src/extras/custompipes_gl.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3