summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authoromegadox <omegadox@gmail.com>2008-12-07 02:23:25 +0000
committeromegadox <omegadox@gmail.com>2008-12-07 02:23:25 +0000
commitf9f80ed3651ae32cb4ac5f726ffaa8decf716bd6 (patch)
tree193e433dde781ed5c21c02640036e12df85dc0ca /Source
parent98f40d80b72e087e25756f86be1fdcbf44163f4f (diff)
Copy EFB to texture alignment fix thanks to slink
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1419 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp b/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp
index fe5c127491..457065afc4 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/TextureMngr.cpp
@@ -372,8 +372,8 @@ void TextureMngr::CopyRenderTargetToTexture(u32 address, bool bFromZBuffer, bool
entry.frameCount = frameCount;
int mult = bScaleByHalf?2:1;
- int w = (abs(source->right-source->left)/mult+7)&~7;
- int h = (abs(source->bottom-source->top)/mult+7)&~7;
+ int w = (abs(source->right-source->left)/mult);
+ int h = (abs(source->bottom-source->top)/mult);
GL_REPORT_ERRORD();