misc: chore: Use explicit types in GAL

This commit is contained in:
Evan Husted
2025-01-25 14:14:40 -06:00
parent 69e0b79bd9
commit 93539e7d45
3 changed files with 9 additions and 9 deletions

View File

@@ -359,7 +359,7 @@ namespace Ryujinx.Graphics.GAL.Multithreading
public bool TryHostConditionalRendering(ICounterEvent value, ulong compare, bool isEqual)
{
var evt = value as ThreadedCounterEvent;
ThreadedCounterEvent evt = value as ThreadedCounterEvent;
if (evt != null)
{
if (compare == 0 && evt.Type == CounterType.SamplesPassed && evt.ClearCounter)