mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
VideoCommon: Split BBox* functions into common and backend implementation variants
This will allow for some aspects of bounding box to be handled in VideoCommon instead of individual backends.
This commit is contained in:
parent
40a4715074
commit
0f17990137
13 changed files with 48 additions and 29 deletions
|
@ -264,12 +264,12 @@ void Renderer::UnbindTexture(const AbstractTexture* texture)
|
|||
D3D::stateman->ApplyTextures();
|
||||
}
|
||||
|
||||
u16 Renderer::BBoxRead(int index)
|
||||
u16 Renderer::BBoxReadImpl(int index)
|
||||
{
|
||||
return static_cast<u16>(BBox::Get(index));
|
||||
}
|
||||
|
||||
void Renderer::BBoxWrite(int index, u16 value)
|
||||
void Renderer::BBoxWriteImpl(int index, u16 value)
|
||||
{
|
||||
BBox::Set(index, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue