mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 13:49:03 +00:00
tiny rendering fixes
This commit is contained in:
parent
54ce7885bc
commit
00da91b73f
2 changed files with 2 additions and 0 deletions
|
@ -246,6 +246,7 @@ worldRenderCB(rw::Atomic *atomic, rw::d3d9::InstanceDataHeader *header)
|
|||
drawInst(header, inst);
|
||||
inst++;
|
||||
}
|
||||
d3d::setTexture(1, nil);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue