mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
DX11: If the virtual XFB list overflows, replace the oldest XFB with a new one instead of just failing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6305 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7410056536
commit
91186d2b8a
2 changed files with 7 additions and 17 deletions
|
@ -61,15 +61,7 @@ inline bool addrRangesOverlap(u32 aLower, u32 aUpper, u32 bLower, u32 bUpper)
|
|||
|
||||
struct XFBSource
|
||||
{
|
||||
XFBSource()
|
||||
{
|
||||
this->srcAddr = 0;
|
||||
this->srcWidth = 0;
|
||||
this->srcHeight = 0;
|
||||
this->tex = NULL;
|
||||
this->texWidth = 0;
|
||||
this->texHeight = 0;
|
||||
}
|
||||
XFBSource() : srcAddr(0), srcWidth(0), srcHeight(0), tex(NULL), texWidth(0), texHeight(0) {}
|
||||
|
||||
u32 srcAddr;
|
||||
u32 srcWidth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue