mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 01:59:02 +00:00
D3D: Fix crash on some drivers with small textures
This commit is contained in:
parent
211169e307
commit
6be4608a0d
2 changed files with 11 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue