SwapBuffers() 개인적인 메소드

private SwapBuffers ( EGLDisplay dpy, EGLSurface surface ) : bool
dpy EGLDisplay
surface EGLSurface
리턴 bool
예제 #1
0
 public override void SwapBuffers()
 {
     if (!Egl.SwapBuffers(WindowInfo.Display, WindowInfo.Surface))
     {
         throw new GraphicsContextException(string.Format("Failed to swap buffers for context {0} current. Error: {1}", Handle, Egl.GetError()));
     }
 }
예제 #2
0
 public override void SwapBuffers()
 {
     Egl.SwapBuffers(WindowInfo.Display, WindowInfo.Surface);
 }