-
GLUT INITIALISATION HELP!!!
Hi,
I've a C code which I would be calling from ForTran. So, I don't have a "Main()" function in my C code. Because of this, I've problems initialising the
glutInit(argc,argv).
Could anyone help me to overcome this problem.. Is there any function equivalent to glutInit() in ForTran??!!
Thanks in advance..
-
Junior Member
Regular Contributor
Re: GLUT INITIALISATION HELP!!!
If you are not using any command line parameters, you could call the glutInit inside your C routine with fake parameters: argc = 0, argv = null.
HTH
Jean-Marc
-
Re: GLUT INITIALISATION HELP!!!
Hi,
Thx for that.. I think I tried that already but it gave some error.. Anyway, shall try it out once again & check..
Thanks again..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules