mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-03 08:21:05 +00:00
Fix XML documentation.
This commit is contained in:
parent
366eb921a7
commit
b89f79266b
|
@ -188,7 +188,7 @@ namespace OpenTK
|
|||
/// <summary>
|
||||
/// Frees a marshalled string that allocated by <c>MarshalStringToPtr</c>.
|
||||
/// </summary>
|
||||
/// <param name="ptr">An unmanaged pointer allocated with <c>MarshalStringToPtr</param>
|
||||
/// <param name="ptr">An unmanaged pointer allocated with <c>MarshalStringToPtr</c></param>
|
||||
protected static void FreeStringPtr(IntPtr ptr)
|
||||
{
|
||||
Marshal.FreeHGlobal(ptr);
|
||||
|
|
|
@ -183,6 +183,11 @@ namespace OpenTK.Graphics
|
|||
|
||||
#region IEquatable<ColorFormat> Members
|
||||
|
||||
/// <summary>
|
||||
/// Compares whether this ColorFormat structure is equal to the specified ColorFormat.
|
||||
/// </summary>
|
||||
/// <param name="other">The ColorFormat structure to compare to.</param>
|
||||
/// <returns>True if both ColorFormat structures contain the same components; false otherwise.</returns>
|
||||
public bool Equals(ColorFormat other)
|
||||
{
|
||||
return
|
||||
|
|
|
@ -39,7 +39,17 @@ namespace OpenTK.Graphics
|
|||
/// </summary>
|
||||
public sealed class GraphicsContext : IGraphicsContext, IGraphicsContextInternal
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to retrive function pointers by name.
|
||||
/// </summary>
|
||||
/// <param name="function">The function name.</param>
|
||||
/// <returns>A function pointer to <paramref name="function"/>, or <c>IntPtr.Zero</c></returns>
|
||||
public delegate IntPtr GetAddressDelegate(string function);
|
||||
|
||||
/// <summary>
|
||||
/// Used to return the handel of the current OpenGL context.
|
||||
/// </summary>
|
||||
/// <returns>The current OpenGL context, or <c>IntPtr.Zero</c> if no context is on the calling thread.</returns>
|
||||
public delegate ContextHandle GetCurrentContextDelegate();
|
||||
|
||||
#region --- Fields ---
|
||||
|
@ -646,7 +656,7 @@ namespace OpenTK.Graphics
|
|||
|
||||
/// <summary>
|
||||
/// Marks this context as deleted, but does not actually release unmanaged resources
|
||||
/// due to the threading requirements of OpenGL. Use <see cref="GraphicsContext.Dispose"/>
|
||||
/// due to the threading requirements of OpenGL. Use <see cref="GraphicsContext.Dispose()"/>
|
||||
/// instead.
|
||||
/// </summary>
|
||||
~GraphicsContext()
|
||||
|
|
Loading…
Reference in a new issue