aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/Multithreading/Commands/Renderer/PreFrameCommand.cs
blob: 820908f3971eaef700142d0662ce79cbb009fbd5 (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 CommandType CommandType => CommandType.PreFrame;

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