aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/Multithreading/Commands/Renderer/PreFrameCommand.cs
blob: cf26194b7f394c45214ddc3966379fa651e0f831 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
namespace Ryujinx.Graphics.GAL.Multithreading.Commands.Renderer
{
    struct PreFrameCommand : IGALCommand, IGALCommand<PreFrameCommand>
    {
        public readonly CommandType CommandType => CommandType.PreFrame;

        public static void Run(ref PreFrameCommand command, ThreadedRenderer threaded, IRenderer renderer)
        {
            renderer.PreFrame();
        }
    }
}