1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 15:50:00 +00:00

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