misc: chore: Use explicit types in NVDEC projects (except VP9 because there's an open PR and I don't want to cause conflicts)
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Ryujinx.Graphics.Nvdec
|
||||
|
||||
public void DestroyContext(long id)
|
||||
{
|
||||
if (_contexts.TryRemove(id, out var context))
|
||||
if (_contexts.TryRemove(id, out NvdecDecoderContext context))
|
||||
{
|
||||
context.Dispose();
|
||||
}
|
||||
@@ -46,7 +46,7 @@ namespace Ryujinx.Graphics.Nvdec
|
||||
|
||||
public void BindContext(long id)
|
||||
{
|
||||
if (_contexts.TryGetValue(id, out var context))
|
||||
if (_contexts.TryGetValue(id, out NvdecDecoderContext context))
|
||||
{
|
||||
_currentContext = context;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user