Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Moagly

OpenGL OpenGL GLUT Icon

This topic is 5634 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was wondering if there is any way i can change the icon of my GLUT application to a .ico file?

Share this post


Link to post
Share on other sites
Advertisement
If you look at the documentation that comes with it, you''d see how to do it:
quote:
To customize the windows icon, you can use the resource name GLUT_ICON. For example, create an icon named "glut.ico", and create a file called glut.rc that contains the following: GLUT_ICON ICON glut.ico
Just add the .rc file you create to your project and compile.

Share this post


Link to post
Share on other sites
Cheers!

I tried looking at the API specifications, but couldn''t really see anything, do u have a web address for the documentation where you found that quote?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!