public static bool SetPixelFormat(IntPtr deviceContext, int pixelFormat, ref PixelFormatDescriptor pixelFormatDescriptor) { LoadLibrary("opengl32.dll"); return(_SetPixelFormat(deviceContext, pixelFormat, ref pixelFormatDescriptor)); }
private static extern bool _SetPixelFormat(IntPtr deviceContext, int pixelFormat, ref PixelFormatDescriptor pixelFormatDescriptor);
public static extern int ChoosePixelFormat(IntPtr deviceContext, ref PixelFormatDescriptor pixelFormatDescriptor);