one hundred percent correct scaling in GL plugin now, or at least it should be. report problems as they come

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@242 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-08-18 09:15:05 +00:00
parent af7e0404ca
commit e0b3e32860
2 changed files with 12 additions and 3 deletions

View File

@ -318,6 +318,8 @@ void TextureMngr::CopyRenderTargetToTexture(u32 address, bool bFromZBuffer, bool
entry.frameCount = frameCount;
int mult = bScaleByHalf?2:1;
// int wmulti = (abs(source->right-source->left)/mult+7)&~7;
//int hmulti = (abs(source->bottom-source->top)/mult+7)&~7;
int w = (abs(source->right-source->left)/mult+7)&~7;
int h = (abs(source->bottom-source->top)/mult+7)&~7;