mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
VideoCommon: add constant value to set the allowed maximum number of pixel samplers
This commit is contained in:
parent
a88e5ef390
commit
af313f8419
18 changed files with 62 additions and 36 deletions
|
@ -205,7 +205,7 @@ u32 StateManager::UnsetTexture(ID3D11ShaderResourceView* srv)
|
|||
{
|
||||
u32 mask = 0;
|
||||
|
||||
for (u32 index = 0; index < 8; ++index)
|
||||
for (u32 index = 0; index < VideoCommon::MAX_PIXEL_SHADER_SAMPLERS; ++index)
|
||||
{
|
||||
if (m_current.textures[index] == srv)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue