Using HDC after SwapBuffers(HDC hdc)

After I drew a screen and do a SwapBuffers(), is it safe to BitBlt from its HDC?

No, GDI and OpenGL are not synchronized with each other.

  • Matt

Originally posted by Coconut:
After I drew a screen and do a SwapBuffers(), is it safe to BitBlt from its HDC?

Generally, yes.

You may still have some problems though. as you’ll be tempted to blit from incompatible DC’s.