mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +00:00
GFX: Cleanup - Move OGL's GetBlockHeightInTexels and GetBlockWidthInTexels code into VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3962 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bcf7b2112b
commit
7aede7309f
7 changed files with 44 additions and 74 deletions
|
@ -270,8 +270,8 @@ void EncodeToRam(u32 address, bool bFromZBuffer, bool bIsIntensityFmt, u32 copyf
|
|||
height /= 2;
|
||||
}
|
||||
|
||||
u16 blkW = TextureConversionShader::GetBlockWidthInTexels(format) - 1;
|
||||
u16 blkH = TextureConversionShader::GetBlockHeightInTexels(format) - 1;
|
||||
u16 blkW = TexDecoder_GetBlockWidthInTexels(format) - 1;
|
||||
u16 blkH = TexDecoder_GetBlockHeightInTexels(format) - 1;
|
||||
u16 samples = TextureConversionShader::GetEncodedSampleCount(format);
|
||||
|
||||
// only copy on cache line boundaries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue