daily update on 20240828 by nitload youmu, autotexture added

This commit is contained in:
Nitload
2024-08-28 10:58:31 +08:00
parent d082071f2d
commit 1ee4e4a42f
586 changed files with 60910 additions and 123106 deletions
+24 -21
View File
@@ -78,6 +78,30 @@ namespace StgSharp.Graphics
[StructLayout(LayoutKind.Sequential)]
public struct OpenglContext
{
public override bool Equals(object obj)
{
return false;
}
public override unsafe int GetHashCode()
{
fixed (OpenglContext* sptr = &this)
{
return sptr->GetHashCode();
}
}
public static bool operator !=(OpenglContext left, OpenglContext right)
{
return !(left == right);
}
public static bool operator ==(OpenglContext left, OpenglContext right)
{
return left.Equals(right);
}
#region glapi
internal unsafe delegate*<uint, GLfixed, void> glAccumxOES;
@@ -2615,27 +2639,6 @@ namespace StgSharp.Graphics
#endregion glapi
public override bool Equals(object obj)
{
return false;
}
public unsafe override int GetHashCode()
{
fixed (OpenglContext* sptr = &this)
{
return sptr->GetHashCode();
}
}
public static bool operator ==(OpenglContext left, OpenglContext right)
{
return left.Equals(right);
}
public static bool operator !=(OpenglContext left, OpenglContext right)
{
return !(left == right);
}
}
}