small problem in OpenGL

So I've run into this problem when trying to make things in openGl, quite constantly; the problem is the screen not updating. I'm trying to create a command-input box, and my problem occurs, when the user presses a key, but the text doesn't update in the box. It only updates when I resize the screen (by dragging the lower corner) How can I fix this?? I would think I would have to flush the buffer, but using something like glFlush(); doesn't work. Does anyone know how I can fix this? or is there a specific function that can do just this? Please help, I am a very big newb at this, and I'm not very good at sitting still for an hour, trying to comprehend the advanced math, and unknown functions, that are in the tutorials that I find. Thanks :)
looks like the key pressed is out of your screen coordinates. CHeck that
Call at your display function.
What interface are you using? (glut, SFML, etc)
By instance in glut you will call glutPostRedisplay();
Topic archived. No new replies allowed.