test changing swap interval
This commit is contained in:
parent
5a9dba0756
commit
a80300e7db
2 changed files with 4 additions and 0 deletions
|
@ -153,6 +153,8 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
|
|||
context.Device.VsyncEvent.WaitOne();
|
||||
}
|
||||
|
||||
context.Device.NextSwapInterval = queueBufferObject.SwapInterval;
|
||||
|
||||
return MakeReplyParcel(context, 1280, 720, 0, 0, 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -34,6 +34,8 @@ namespace Ryujinx.HLE
|
|||
|
||||
public AutoResetEvent VsyncEvent { get; private set; }
|
||||
|
||||
public int NextSwapInterval { get; set; }
|
||||
|
||||
public event EventHandler Finish;
|
||||
|
||||
public Switch(VirtualFileSystem fileSystem, ContentManager contentManager, IRenderer renderer, IAalOutput audioOut)
|
||||
|
|
Loading…
Add table
Reference in a new issue