Fix null sampler crash
parent
6fed9b51b5
commit
ca30248d97
|
|
@ -869,7 +869,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
{
|
||||
if (texture != null)
|
||||
{
|
||||
_currentState.TextureRefs[binding] = new(stage, texture, samplerHolder.GetSampler());
|
||||
_currentState.TextureRefs[binding] = new(stage, texture, samplerHolder?.GetSampler());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue