OpenGL GLUT Fullscreen / Windowed Switching
Having a little trouble here
I want to switch between windowed and fullscreen modes using GLUT using key 'f' or key 'F'.
I found a glutFullScreen() method which works fine, but when it switches back to windowed (which takes 4 times to press f) makes the size of the window fine but it comes without its title bar etc! :(
ive tried lots of different glut methods
and i cant seem to work out whats goin on
ive searched mr.google and cant find a way out
what is glutentergamemode glutleavegamemode all about, is it better, nicer, newer and does it even do this?! :S