   glut prob
  Hi i'm tring to enter gamemode but my app creates a window the is transparent.here's some of my code:void main(int argc, char **argv) {glutInit(&argc, argv);// Init glutglutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);// Init diplay modeglutCreateWindow("Test");// Create the windowglutDisplayFunc(renderScene);// Callback to rendersceneglutIdleFunc(renderScene);glutReshapeFunc(changeSize);// Here is our new entry in the main functionInitIL();// Init DevILglutGameModeString("800x600:32");// Set to fullscreenLoadBrick();// Load Brick TextureglutMainLoop();// Enter main loop}   
  What values are you using for glClearColor()?   ;  Also, make sure you are calling glutSwapBuffers().   ;  i tries what you siad it displays a window but not fullscreen:[source=cpp]#include "Engine.h"// Include EngineGLuintBrick1;// Brick1 texturenamevoid renderScene(void) {glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);// Clear Screen to blackglLoadIdentity();// Reset MatrixglTranslatef(0.0f,0.0f,-3.0f);// move 3 units into screenglBindTexture(GL_TEXTURE_2D, Brick1);glBegin(GL_QUADS);// Draw A QuadglTexCoord2f(0.0f, 0.0f); glVertex3f(-1.0f, 1.0f, 0.0f);// Top LeftglTexCoord2f(1.0f, 0.0f); glVertex3f( 1.0f, 1.0f, 0.0f);// Top RightglTexCoord2f(1.0f, 1.0f); glVertex3f( 1.0f,-1.0f, 0.0f);// Bottom RightglTexCoord2f(0.0f, 1.0f); glVertex3f(-1.0f,-1.0f, 0.0f);// Bottom LeftglEnd();// finish drawing triangleglFlush();// Flush all commandglutSwapBuffers();// Swap buffer}void changeSize(int w, int h) {// Prevent a divide by zero, when window is too short// (you cant make a window of zero width).if(h == 0)h = 1;float ratio = 1.0* w / h;// Calculate prespective ratio// Reset the coordinate system before modifyingglMatrixMode(GL_PROJECTION);glLoadIdentity();// Set the viewport to be the entire windowglViewport(0, 0, w, h);// Set the correct perspective.gluPerspective(45,ratio,1,1000);glMatrixMode(GL_MODELVIEW);glLoadIdentity();}bool LoadBrick(){Image *image = new Image(IL_BMP, "brick.bmp");// Create Image classglGenTextures(1, &Brick1);// GenTexture nameglBindTexture(GL_TEXTURE_2D, Brick1);// Bind The TextureglTexImage2D(GL_TEXTURE_2D,// Generate Texture0,3,image->width,image->height,0,GL_BGR_EXT,GL_UNSIGNED_BYTE,image->data);glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);// Linear FilteringglTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);// Linear Filteringif(ilGetError() != IL_NO_ERROR){return false;}return true;}void main(int argc, char **argv) {glutInit(&argc, argv);// Init glutglutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);// Init diplay modeglutCreateWindow("Test");// Create the windowglutDisplayFunc(renderScene);// Callback to rendersceneglutIdleFunc(renderScene);// Ilde Callback to rendersceneglEnable(GL_DEPTH_TEST);// Enable depth testingglutReshapeFunc(changeSize);// Here is our new entry in the main functionInitIL();// Init DevILglutGameModeString("800x600:32");// Set to fullscreenLoadBrick();// Load Brick TexturglutMainLoop();// Enter main loop};  How come you never call glutEnterGameMode()?   ;  Opps, must have deleted it tring to get it working. anyway i get a black window for about 15seconds then the app closes.   