04-21-2002, 02:50 AM
I'm not able to print the values of variables inside a opengl function(for debugging purposes).
Printf statement works perfectly but it prints either zero or some junk value.
ex:
xcur,ycur-global varables
window_display()
.......
printf("values of %3.2f %3.2f", &xcur,&ycur);
.....
same type of statements not working in keyboard function and other functions
Is there any special setting or special function to do that?
thanks & regards
Printf statement works perfectly but it prints either zero or some junk value.
ex:
xcur,ycur-global varables
window_display()
.......
printf("values of %3.2f %3.2f", &xcur,&ycur);
.....
same type of statements not working in keyboard function and other functions
Is there any special setting or special function to do that?
thanks & regards