mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:55:28 +00:00
Internal Device getter.
This commit is contained in:
parent
8b3f5afa4c
commit
568d3fecb7
|
@ -89,7 +89,7 @@ namespace OpenTK.Platform.Windows
|
|||
GL.LoadAll();
|
||||
Glu.LoadAll();
|
||||
|
||||
vsync_supported = Wgl.Arb.SupportsExtension(this.deviceContext, "WGL_EXT_swap_control") &&
|
||||
vsync_supported = Wgl.Arb.SupportsExtension(this, "WGL_EXT_swap_control") &&
|
||||
Wgl.Load("wglGetSwapIntervalEXT") && Wgl.Load("wglSwapIntervalEXT");
|
||||
|
||||
if (source != null)
|
||||
|
@ -390,6 +390,16 @@ namespace OpenTK.Platform.Windows
|
|||
|
||||
#endregion
|
||||
|
||||
#region --- Internal Members ---
|
||||
|
||||
#region internal IntPtr Device
|
||||
|
||||
internal IntPtr Device { get { return deviceContext; } }
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- IDisposable Members ---
|
||||
|
||||
public void Dispose()
|
||||
|
|
Loading…
Reference in a new issue