summaryrefslogtreecommitdiff
path: root/src/video_core/host1x/vic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/host1x/vic.cpp')
-rw-r--r--src/video_core/host1x/vic.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/video_core/host1x/vic.cpp b/src/video_core/host1x/vic.cpp
index 3ad56bb80..7bf27f0c6 100644
--- a/src/video_core/host1x/vic.cpp
+++ b/src/video_core/host1x/vic.cpp
@@ -136,11 +136,8 @@ void Vic::Execute() {
}
auto luma_offset{regs.surfaces[i][SurfaceIndex::Current].luma.Address()};
- if (nvdec_id == -1) {
- nvdec_id = frame_queue.VicFindNvdecFdFromOffset(luma_offset);
- }
- auto frame = frame_queue.GetFrame(nvdec_id, luma_offset);
+ auto frame = frame_queue.GetFrame(luma_offset);
if (!frame.get()) {
LOG_ERROR(HW_GPU, "Vic {} failed to get frame with offset 0x{:X}", id, luma_offset);
continue;