i dont know anything about glut but shouldnt it look more like...


[code]
begin
{.. setup gl.. }

while not CanClose do
Begin
{.. render ..}
end;

{.. destroy gl.. }
end;//console closes here