mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
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:
parent
98f40d80b7
commit
f9f80ed365
@ -372,8 +372,8 @@ void TextureMngr::CopyRenderTargetToTexture(u32 address, bool bFromZBuffer, bool
|
|||||||
entry.frameCount = frameCount;
|
entry.frameCount = frameCount;
|
||||||
|
|
||||||
int mult = bScaleByHalf?2:1;
|
int mult = bScaleByHalf?2:1;
|
||||||
int w = (abs(source->right-source->left)/mult+7)&~7;
|
int w = (abs(source->right-source->left)/mult);
|
||||||
int h = (abs(source->bottom-source->top)/mult+7)&~7;
|
int h = (abs(source->bottom-source->top)/mult);
|
||||||
|
|
||||||
GL_REPORT_ERRORD();
|
GL_REPORT_ERRORD();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user