tiny rendering fixes

This commit is contained in:
aap 2020-12-27 18:22:11 +01:00
parent 54ce7885bc
commit 00da91b73f
2 changed files with 2 additions and 0 deletions

View File

@ -246,6 +246,7 @@ worldRenderCB(rw::Atomic *atomic, rw::d3d9::InstanceDataHeader *header)
drawInst(header, inst); drawInst(header, inst);
inst++; inst++;
} }
d3d::setTexture(1, nil);
} }
void void

View File

@ -253,6 +253,7 @@ worldRenderCB(rw::Atomic *atomic, rw::gl3::InstanceDataHeader *header)
drawInst(header, inst); drawInst(header, inst);
inst++; inst++;
} }
setTexture(1, nil);
#ifndef RW_GL_USE_VAOS #ifndef RW_GL_USE_VAOS
disableAttribPointers(header->attribDesc, header->numAttribs); disableAttribPointers(header->attribDesc, header->numAttribs);
#endif #endif