mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-03 12:31:04 +00:00
Disable Obsolete warning.
IGraphicsContext.VSync property is obsolete, but we have to call it in the GraphicsContext.VSync implementation, so disable the obsolete warning for this one use.
This commit is contained in:
parent
b89f79266b
commit
95bd094404
|
@ -507,8 +507,10 @@ namespace OpenTK.Graphics
|
|||
[Obsolete("Use SwapInterval property instead.")]
|
||||
public bool VSync
|
||||
{
|
||||
#pragma warning disable 0612, 0618 // CS0612/CS0618: 'member' is obsolete
|
||||
get { return implementation.VSync; }
|
||||
set { implementation.VSync = value; }
|
||||
set { implementation.VSync = value; }
|
||||
#pragma warning restore 0612, 0618
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in a new issue