mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-10 15:07:26 +00:00
Removed unused summary.
This commit is contained in:
parent
499b9e0a12
commit
6f8d2970c6
|
@ -13,9 +13,6 @@ using System.Reflection;
|
||||||
|
|
||||||
namespace OpenTK.Platform.Windows
|
namespace OpenTK.Platform.Windows
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
///
|
|
||||||
/// </summary>
|
|
||||||
internal partial class Wgl
|
internal partial class Wgl
|
||||||
{
|
{
|
||||||
#region --- Constructors ---
|
#region --- Constructors ---
|
||||||
|
@ -128,37 +125,7 @@ namespace OpenTK.Platform.Windows
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region public static partial class Ext
|
#region public static partial class Arb
|
||||||
#if false
|
|
||||||
public static partial class Ext
|
|
||||||
{
|
|
||||||
private static string[] extensions;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Checks if an "ARB" extension is supported by the given context.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="deviceContext">The device context.</param>
|
|
||||||
/// <param name="ext">The extension to check.</param>
|
|
||||||
/// <returns>True if the extension is supported by the given context, false otherwise</returns>
|
|
||||||
public static bool SupportsExtension(IntPtr deviceContext, string ext)
|
|
||||||
{
|
|
||||||
if (Wgl.Delegates.wglGetExtensionsStringEXT != null)
|
|
||||||
{
|
|
||||||
if (extensions == null || reload_arb_extension_strings)
|
|
||||||
{
|
|
||||||
// Defined wrong in wglext.spec...
|
|
||||||
extensions = Wgl.Ext.GetExtensionsString(deviceContext).Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);
|
|
||||||
Array.Sort(extensions);
|
|
||||||
reload_arb_extension_strings = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Array.BinarySearch(extensions, ext) != -1;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
/// <summary>Contains ARB extensions for WGL.</summary>
|
/// <summary>Contains ARB extensions for WGL.</summary>
|
||||||
public static partial class Arb
|
public static partial class Arb
|
||||||
|
@ -187,6 +154,10 @@ namespace OpenTK.Platform.Windows
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region public static partial class Ext
|
||||||
|
|
||||||
/// <summary>Contains EXT extensions for WGL.</summary>
|
/// <summary>Contains EXT extensions for WGL.</summary>
|
||||||
public static partial class Ext
|
public static partial class Ext
|
||||||
{
|
{
|
||||||
|
@ -212,5 +183,7 @@ namespace OpenTK.Platform.Windows
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue