Skip to content

Commit

Permalink
Merge pull request #212 from FriendsOfCADability/FixOpenGLImport
Browse files Browse the repository at this point in the history
OpenGL fix CS3003 and remove unecessary import #49
  • Loading branch information
dsn27 authored Dec 27, 2024
2 parents 728d71d + a273e04 commit e1e4ad5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions CADability/OpenGL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52499,6 +52499,7 @@ public static bool SetPixelFormat(IntPtr deviceContext, int pixelFormat, ref PIX
public static extern int GetPixelFormat(IntPtr deviceContext);
[DllImport(GDI_NATIVE_LIBRARY, SetLastError = true), SuppressUnmanagedCodeSecurity]
public static extern IntPtr CreateCompatibleDC(IntPtr hdc);
[CLSCompliant(false)]
public struct ABC
{
public int abcA;
Expand All @@ -52519,9 +52520,6 @@ public struct KERNINGPAIR
}
[DllImport("gdi32", EntryPoint = "GetKerningPairsW")]
public static extern int GetKerningPairs(IntPtr hDC, int cPairs, [Out] KERNINGPAIR[] lpkrnpair);
[DllImport("gdi32.dll")]
public static extern int DescribePixelFormat(IntPtr hdc, int iPixelFormat, uint nBytes, IntPtr pfd);

}

public static class Wgl
Expand All @@ -52543,5 +52541,4 @@ public static class Wgl
[DllImport(WGL_NATIVE_LIBRARY, SetLastError = true), SuppressUnmanagedCodeSecurity]
public static extern bool wglShareLists(IntPtr source, IntPtr destination);
}

}
}

0 comments on commit e1e4ad5

Please sign in to comment.