mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-13 21:35:30 +00:00
Internal Device getter.
This commit is contained in:
parent
8b3f5afa4c
commit
568d3fecb7
|
@ -89,7 +89,7 @@ namespace OpenTK.Platform.Windows
|
||||||
GL.LoadAll();
|
GL.LoadAll();
|
||||||
Glu.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");
|
Wgl.Load("wglGetSwapIntervalEXT") && Wgl.Load("wglSwapIntervalEXT");
|
||||||
|
|
||||||
if (source != null)
|
if (source != null)
|
||||||
|
@ -390,6 +390,16 @@ namespace OpenTK.Platform.Windows
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region --- Internal Members ---
|
||||||
|
|
||||||
|
#region internal IntPtr Device
|
||||||
|
|
||||||
|
internal IntPtr Device { get { return deviceContext; } }
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region --- IDisposable Members ---
|
#region --- IDisposable Members ---
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
|
|
Loading…
Reference in a new issue