예제 #1
0
 public static void Init()
 {
     SwapInterval = (SwapIntervalFunc)Marshal.GetDelegateForFunctionPointer(GL.GetProcAddress("wglSwapIntervalEXT"), typeof(SwapIntervalFunc));
 }
예제 #2
0
파일: WGL.cs 프로젝트: damian-666/ReignSDK
 public static void Init()
 {
     SwapInterval = (SwapIntervalFunc)Marshal.GetDelegateForFunctionPointer(GL.GetProcAddress("wglSwapIntervalEXT"), typeof(SwapIntervalFunc));
 }