Divison by Zero

I had this problem several months ago with an INTEL Graphics card and someone suggested a solution which at that time worked. It is to do with specifying the shininess parameter to zero.

I recently tried to install an opengl program on a friend’s computer which had an INTEL graphics card. Unfortunately, the above fix does not work. I am getting division by zero again. Can anyone help?

Many thanks

Why do you need to set shininess to 0? just set the specular colors to 0 if you want to turn off specular. Maybe that helps?

Anything that causes a division by zero is usually the application’s fault - while it may be a driver bug that’s rather unlikely.

Can you post the snippet of code that fails, cut down to as small a test-case as possible?