Re: [fpc-pascal]OpenGL/GLUT run time error when I whant compile this code

2003-04-04 Thread James Mills
On Sat, Apr 05, 2003 at 10:02:07AM +0800, Karim Forsthofer wrote: > Hello > I played around with the OpenGL unit, and I wrote some minimal OpenGL code to get a > window: > Here is the code: > > program glbasic; > > uses > gl, glut; > > const > width = 640; > height= 480; > > procedure

[fpc-pascal]OpenGL/GLUT run time error when I whant compile this code

2003-04-04 Thread Karim Forsthofer
Hello I played around with the OpenGL unit, and I wrote some minimal OpenGL code to get a window: Here is the code: program glbasic; uses gl, glut; const width = 640; height= 480; procedure drawthings; begin glClearColor(0.0, 0.0, 0.0, 0.0); (*will add some more code*); end; begin