mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
VideoCommon: add constant value to set the allowed maximum number of pixel samplers
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user