mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
D3D: Moved setting texture by slot mask into StateManager
This commit is contained in:
parent
764aee6995
commit
5688c27610
3 changed files with 14 additions and 8 deletions
|
@ -235,7 +235,8 @@ public:
|
|||
}
|
||||
|
||||
// removes currently set texture from all slots, returns mask of previously bound slots
|
||||
u32 StateManager::UnsetTexture(ID3D11ShaderResourceView* srv);
|
||||
u32 UnsetTexture(ID3D11ShaderResourceView* srv);
|
||||
void SetTextureByMask(u32 textureSlotMask, ID3D11ShaderResourceView* srv);
|
||||
|
||||
// call this immediately before any drawing operation or to explicitly apply pending resource state changes
|
||||
void Apply();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue