DiscardFrameCapture was actually added in 1.4, according to RenderDoc API docs

This commit is contained in:
GreemDev 2025-12-27 19:29:42 -06:00
parent 0365e1414c
commit d17025a4ab

View file

@ -365,11 +365,11 @@ namespace Ryujinx.Graphics.RenderDocApi
/// </summary>
/// <param name="hDevice">a handle to the API device object that will be set active. May be <see cref="nint.Zero"/> to wildcard match.</param>
/// <param name="hWindow">a handle to the platform window handle that will be set active. May be <see cref="nint.Zero"/> to wildcard match.</param>
/// <remarks>Requires RenderDoc API version 1.3</remarks>
[RenderDocApiVersion(1, 3)]
/// <remarks>Requires RenderDoc API version 1.4</remarks>
[RenderDocApiVersion(1, 4)]
public static void DiscardFrameCapture(nint hDevice, nint hWindow)
{
AssertAtLeast(1, 3);
AssertAtLeast(1, 4);
Api->DiscardFrameCapture((void*)hDevice, (void*)hWindow);
}