mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user