MVVM rebuild complete
This commit is contained in:
@@ -52,7 +52,7 @@ namespace StgSharp
|
||||
|
||||
[DllImport(SSC_libName, EntryPoint = "linkShaderProgram",
|
||||
CallingConvention = CallingConvention.Cdecl)]
|
||||
internal static extern unsafe uint InternalLinkShaderProgram(GLcontext* context, uint shaderProgram);
|
||||
internal static extern unsafe uint InternalLinkShaderProgram(OpenglContext* context, uint shaderProgram);
|
||||
|
||||
[DllImport(SSC_libName, EntryPoint = "readLog",
|
||||
CallingConvention = CallingConvention.Cdecl)]
|
||||
@@ -76,7 +76,7 @@ namespace StgSharp.Graphics
|
||||
public delegate IntPtr ImageLoader(string name, ref int width, ref int height, ref int definedChannel, int desiredChannel);
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct GLcontext
|
||||
public struct OpenglContext
|
||||
{
|
||||
#region glapi
|
||||
|
||||
@@ -2622,18 +2622,18 @@ namespace StgSharp.Graphics
|
||||
|
||||
public unsafe override int GetHashCode()
|
||||
{
|
||||
fixed (GLcontext* sptr = &this)
|
||||
fixed (OpenglContext* sptr = &this)
|
||||
{
|
||||
return sptr->GetHashCode();
|
||||
}
|
||||
}
|
||||
|
||||
public static bool operator ==(GLcontext left, GLcontext right)
|
||||
public static bool operator ==(OpenglContext left, OpenglContext right)
|
||||
{
|
||||
return left.Equals(right);
|
||||
}
|
||||
|
||||
public static bool operator !=(GLcontext left, GLcontext right)
|
||||
public static bool operator !=(OpenglContext left, OpenglContext right)
|
||||
{
|
||||
return !(left == right);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user