Internal Device getter.

This commit is contained in:
the_fiddler 2008-01-23 00:19:22 +00:00
parent 8b3f5afa4c
commit 568d3fecb7

View file

@ -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()