title: How to change freeglut main window icon in C++?
body: <p>I have a DLL written in C++ that uses FreeGlut to visualize some data. I want to change the icon of the main (free)glut window. </p>
  
  <p>I've read that it is impossible, but in the docs I see:</p>
  
  <blockquote>
    <p>GLUT_ICON - specifies the icon that goes in the upper left-hand corner of the freeglut windows.</p>
  </blockquote>
  
  <p>How can I change icon for (free)glut window, if possible?</p>