Avoid the most common virtual call when possible.

This commit is contained in:
Henrik Rydgård 2018-02-26 13:51:14 +01:00
parent 64ec46e705
commit 0b4b2bfe9c
2 changed files with 6 additions and 1 deletions

View file

@ -79,6 +79,9 @@ public:
bool IsCodePtrVertexDecoder(const u8 *ptr) const {
return decJitCache_->IsInSpace(ptr);
}
int GetNumDrawCalls() const {
return numDrawCalls;
}
protected:
virtual void ClearTrackedVertexArrays() {}