SDL_OPENGL problem ( OpenGL & event handling )

Boris Bauer wrote :

after SDL’ing one of my OpenGL codes I encountered a problem: the
window turned to an

amber color and the system slowed down remarkably (bad windows/event
response).

NeHe’s SDL-fixed tutorial source codes cause the same problem, but
only from tutorial

source-code 5 to 12. The others (2, 3 and 4) are running nicely.
There seems to be

a problem with the complexity of the GL calls per frame, but I didn’t
find it, yet.

PS:
My setup:
Win32, DirectX7, Diamond Viper 550 (NVidia TNT)
SDL 1.1, OpenGL/GLUT both most recent versions

OK, I have the same problem, but under Linux, with utah-glx (cvs
version) and a
TNT2 card.

I tried to include a “sleep(1)” and the keyboard seems to respond.

But if I don’t do that, it’s quite IMPOSSIBLE to exit the program : all
my X-server is… like frozen.

I don’t know if it is a SDL problem, but if someone could help me
(us)…

Thanks.

Nicox.