PDA

View Full Version : Fullscreen problem



Traveler
05-06-2003, 08:38 PM
I recently downloaded GLScene and I've tried most of the demos supplied with the package. Some are really awesom, especially in those in the specialsFX dir. Very nice! :D

Anyway,... when I came across the fullscreen sample, I noticed that the screen keeps flickering all the time. It's almost as if it's switching between desktop and the demo.

I believe it has something to do with the statement:

Application.ProcessMessages;


while GLFullScreenViewer1.Active do
begin
// Message queue is not operational, but there may still be some messages
Application.ProcessMessages;
// Relinquish some of that CPU time
Sleep(1);
// Slowly rotate the teapot and the blue light
Teapot1.TurnAngle:=4*Frac(Now*24)*3600;
DCBlueLight.RollAngle:=4*Frac(Now*24)*3600;
end;

Removing the line is no good. Extending the sleep time causes the flickering to become a weird transparant bar. (Through which I can see my desktop)

Does anyone know how to solve this?

I've tried the sample using windows XP in combination with a Radeon 8500LE graphics card.

Thanks