D3D: Fix crash on some drivers with small textures

This commit is contained in:
Stenzek
2015-11-24 21:15:19 +10:00
parent 211169e307
commit 6be4608a0d
2 changed files with 11 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 pitch, unsigned int level, D3D11_USAGE usage);
void ReplaceRGBATexture2D(ID3D11Texture2D* pTexture, const u8* buffer, unsigned int width, unsigned int height, unsigned int expanded_width, unsigned int level, D3D11_USAGE usage);
}
class D3DTexture2D