mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VideoBackends/OGL: Cache bounding box values between reads
This commit is contained in:
parent
0c11dca121
commit
7fd0a526e1
4 changed files with 89 additions and 14 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue