/* * IWindowInfo IGraphicsContextInternal.Info * { * get { return (IWindowInfo)windowInfo; } * } */ public override IntPtr GetAddress(IntPtr function_string) { IntPtr address = Wgl.GetProcAddress(function_string); if (!IsValid(address)) { address = Functions.GetProcAddress(WinFactory.OpenGLHandle, function_string); } return(address); }
internal static IntPtr GetAddress(string function_string) { IntPtr address = Wgl.GetProcAddress(function_string); if (!IsValid(address)) { address = Functions.GetProcAddress(WinFactory.OpenGLHandle, function_string); } return(address); }