D3D: Remove redundant cast, move pitch calculation to caller

This commit is contained in:
Stenzek
2015-11-24 21:54:19 +10:00
parent 6be4608a0d
commit d1b132731d
3 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ namespace DX11
namespace D3D
{
void ReplaceRGBATexture2D(ID3D11Texture2D* pTexture, const u8* buffer, unsigned int width, unsigned int height, unsigned int expanded_width, unsigned int level, D3D11_USAGE usage);
void ReplaceRGBATexture2D(ID3D11Texture2D* pTexture, const u8* buffer, unsigned int width, unsigned int height, unsigned int src_pitch, unsigned int level, D3D11_USAGE usage);
}
class D3DTexture2D