VideoBackends/OGL: Cache bounding box values between reads

This commit is contained in:
Connor McLaughlin
2021-04-18 03:14:52 +10:00
committed by Stenzek
parent 0c11dca121
commit 7fd0a526e1
4 changed files with 89 additions and 14 deletions

View File

@ -882,6 +882,11 @@ void Renderer::BBoxWriteImpl(int index, u16 value)
BoundingBox::Set(index, swapped_value);
}
void Renderer::BBoxFlushImpl()
{
BoundingBox::Flush();
}
void Renderer::SetViewport(float x, float y, float width, float height, float near_depth,
float far_depth)
{