Example #1
0
 public override void SwapBuffers()
 {
     if (!Gdi32.SwapBuffers(fPbufferDC))
     {
         Destroy();
         throw new Exception("Could not complete SwapBuffers.");
     }
 }
Example #2
0
 public override void SwapBuffers()
 {
     if (!Gdi32.SwapBuffers(pbufferDeviceContextHandle))
     {
         Destroy();
         throw new Exception("Could not complete SwapBuffers.");
     }
 }