From: Eero P. <epa...@ko...> - 2003-05-28 04:47:14
|
Fay John F Contr AAC/WMG wrote: > Well, I tried it and it didn't make any difference. I still get a > Windows type of logo for my "freeglut" demo programs and an OpenGL logo > for my GLUT demo programs. I may not have had that particular > "GLUT_ICON" defined properly for my (Windows 2000) system. But the > change seems innocuous enough--and it had no harmful effects for > me--that I would say let's put it in. > You have to edit your "resource file" which is included in the Windows compilation and add an icon named "GLUT_ICON" there. (I guess there are different ways for doing this, but that is what I did with VC++) (Mesa) GLUT does soemthing similar, but if it does not find the GLUT_ICON in executable it checks glut32.dll also. I guess that is the place where the OpenGL logo comes from. I haven't tried the (Mesa / original) GLUT for a while, but the change I did in freeglut enabled me to get my icon on the program title and made me happy. I know this all is horribly platform specific, but I submitted it in the name of "GLUT-classic compatibility" ;-) Eero |