Fully initialize the xfbSource struct. Not sure if this could actually be used
uninitialized, but this at least placates gcc. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5494 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7215732bcd
commit
f38ba8fcfe
|
@ -420,6 +420,11 @@ void FramebufferManager::copyToVirtualXFB(u32 xfbAddr, u32 fbWidth, u32 fbHeight
|
|||
newVirt.xfbSource.texHeight = m_targetHeight;
|
||||
newVirt.xfbSource.sourceRc = ConvertEFBRectangle(sourceRc);
|
||||
|
||||
/* is this needed? */
|
||||
newVirt.xfbSource.srcAddr = xfbAddr;
|
||||
newVirt.xfbSource.srcWidth = fbWidth;
|
||||
newVirt.xfbSource.srcHeight = fbHeight;
|
||||
|
||||
// Add the new Virtual XFB to the list
|
||||
|
||||
if ((int)m_virtualXFBList.size() >= MAX_VIRTUAL_XFB)
|
||||
|
|
Loading…
Reference in New Issue