Advertisement

window -> Full screen -> window

Started by September 01, 2001 02:40 AM
0 comments, last by Duncan3 23 years, 5 months ago
We''re trying to have the maximize button on an app go full screen, then be able to go back to the window. So we''re desperately seeking the right sequence of Win32/GL calls to go from a window to full to window. No, we''re not using GLUT. We can do it, but there seems to be a ~64MB memory leak each time we go from full screen to window, so we''re missing something.
Are you restoring the graphics mode and then setting it to fullscreen with the CDS_FULLSCREEN flag? I assume you are doing this when receiving an WM_SIZE message and wParam==SIZE_MAXIMIZED

This topic is closed to new replies.

Advertisement