   GLSL & Glut - windowed to fullscreen glitch
  Hi, I've written a program that switches between windowed and fullscreen mode using GLUT. However, when I switch from windowed mode to fullscreen by calling glutEnterGameMode() the rendered image appears as a flat white object. For some reason the GLSL shader I have written isn't being recognised in fullscreen mode. Everything works fine in windowed mode.Has anyone else come up against this problem??My system has SLI Enabled, running two NVIDIA GeForce 8700M GT'sBelow is a code snippet from the program that switches mode:case GLUT_KEY_F1:{if(DISPLAY_FULL_SCREEN){   glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGB|GLUT_DEPTH|GLUT_ALPHA);glutGameModeString("640x480:32");// enter full screenif (glutGameModeGet(GLUT_GAME_MODE_POSSIBLE)) {glutEnterGameMode();// register callbacks againinit();}}else {// return to default windowif (glutGameModeGet(GLUT_GAME_MODE_ACTIVE) != 0){glutLeaveGameMode();gSleepCounter = 10;}}}break;Any help appreciated...cheers   
  glutEnterGameMode creates new window with new GL rendering context, so you need to reload any shaders, textures, etc. after that happens   ;  cheers snoutmate,All working now.   