   Display errors fullscreen vs windowed
  Hi,Very confusing problem here, infact ive no idea at all what is causing it or what COULD cause it.Ive been making a game of othello and the drawing is done in 2 parts, one class draws the board and onscreen info etc and the other draws messages that have to pop up in the game(eg game over, players cannot move or new game).Once the end of the game is reached, a message comes up saying who has won and asking if you want to play again, if you click play again, the board is reset and the new game message pops up.My problem is that if the game is in fullscreen mode when you click another game, the screen does not refresh until you do a mouseover the newgame button. This does not happen in windowed mode and my code does not make ANY differentiation between windowed and fullscreen mode. Infact neither of these classes are even aware whether the program is in fullscreen or not, the fullscreen mode is toggled in the main file.I dont understand how the program can behave differently in fullscreen or windowed mode, when all the code executed is the same, the only thing i can think of is that there is a fundamental difference in opengl windowed and fullscreen drawing. If anyone has any suggestions id appreciate it a lot.Thanks,Vipa. 
  I had some problems switching to fullscreen too, and it was the result of calling window init functions a second time when they should have only been called at the start of the program.  Check that (from NeHe sample) InitGL() and CreateGLWindow() aren't doing something that would screw your program up if executed twice.  For example, my Verdana font display was disappearing after entering fullscreen mode, because it was being initialized a second time.  I ended up using bitmap fonts instead.   Anyhow, check there.Mop-edit~Then again, if you're having this problem starting in fullscreen mode, this likely has nothing to do with it   This is a video mode switching problem only~   [edited by - Spongemop on August 1, 2003 12:50:40 PM];  Hi,I checked out the program starting in fullscreen and the same problem occurs. I have noticed an extra thing since i posted the problem though-1 frame of the correct scene is drawn, then it swaps back to the scene before the button is clicked. It is almost as if it remembers the previous frame and is switching back to it. This maybe due to swapping buffers, i dont really understand that. 1 thing i am sure of though is that it isnt redrawing the scene in the program, it must be remembering it somehow, as many of the things it draws incorrectly have been erased from memory.does glutSwapBuffers behave differently in fullscreen?Vipa. 