Setmonitor
Bruno Pape
root at sgzh.uucp
Tue Mar 20 19:03:10 AEST 1990
#include <gl/gl.h>
#include <gl/get.h>
main()
{
short mtype;
int ch;
ginit();
mtype = HZ30_SG;
setmonitor( mtype ); /* switch to 30 Hz */
sleep(5);
mtype = HZ60;
setmonitor( mtype ); /* switch back to normal */
}
It compiles nicely, but upon execution I get an "invalid argument" error
message from both "setmonitor" calls. Anyone run into this before?? Any
ideas on why this desn't work??
Thanks,
-John
The ginit() should help it work better.
Bruno
More information about the Comp.sys.sgi
mailing list