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
This commit is contained in:
omegadox 2008-12-07 02:23:25 +00:00
parent 98f40d80b7
commit f9f80ed365
1 changed files with 2 additions and 2 deletions

View File

@ -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();