aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/VDec/VideoDecoder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/VDec/VideoDecoder.cs')
-rw-r--r--Ryujinx.Graphics/VDec/VideoDecoder.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Ryujinx.Graphics/VDec/VideoDecoder.cs b/Ryujinx.Graphics/VDec/VideoDecoder.cs
index 847392b0..be53b1a0 100644
--- a/Ryujinx.Graphics/VDec/VideoDecoder.cs
+++ b/Ryujinx.Graphics/VDec/VideoDecoder.cs
@@ -216,10 +216,11 @@ namespace Ryujinx.Graphics.VDec
GalImage Image = new GalImage(
OutputConfig.SurfaceWidth,
- OutputConfig.SurfaceHeight, 1,
- OutputConfig.GobBlockHeight,
+ OutputConfig.SurfaceHeight, 1, 1, 1,
+ OutputConfig.GobBlockHeight, 1,
GalMemoryLayout.BlockLinear,
- GalImageFormat.RGBA8 | GalImageFormat.Unorm);
+ GalImageFormat.RGBA8 | GalImageFormat.Unorm,
+ GalTextureTarget.TwoD);
ImageUtils.WriteTexture(Vmm, Image, Vmm.GetPhysicalAddress(OutputConfig.SurfaceLumaAddress), Frame.Data);
}