In a nutshell, I''m new to OpenGL, but have some Direct3D experience (8.1). I want to know how OpenGL knows to FLIP or BLIT when you go into fullscreen mode, versus windowed, because based on NeHe''s tutorials, there isn''t really any difference (since we set the screen resolution and depth ourselves, manually).
In Direct3D, when going full screen versus windowed mode, you specifically tell Direct3D to FLIP versus BLIT, and it takes care of setting the screen resolution, etc.
For example, in Direct3D I have:
d3dpp.SwapEffect= D3DSWAPEFFECT_FLIP;
d3dpp.Windowed= FALSE;
d3dpp.BackBufferFormat= m_displayFormat;
In OpenGL, I do nothing differently (other than some window resizing, and using the PFD to set the screen mode). To switch swap the back and front buffers, I use:
SwapBuffers(m_hDC);
Thanks so much!
Mal.