I try to use GLUT with Kylix everything is fine but... When I to include in my main loop procedure :
procedure Render(); cdecl;
begin
glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
----=>> glutSolidCone(10,10,10,10);
----=>> glutSolidSphere(10,10,10);
glFlush();
glutSwapBuffers();
end;
My program end automatically with no error prompt, nothing!? If I copy and paste these two line and compile it in C/C++ no problem... Is it a bug in the library translation or I do something wrong!?



- just joking