diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:55:33 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:55:33 +0000 |
| commit | f38ba8fcfe2166345f3884ac67d958bfaf2ef739 (patch) | |
| tree | dc0b3f7319e64abc0f846622a55826b2b184ab9a /Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp | |
| parent | 7215732bcdf6a35000e2b219ac7a5606aed1233d (diff) | |
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
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp b/Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp index 35245c55ca..10c41ac813 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/FramebufferManager.cpp @@ -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) |
