Original Post
Hi I'm not very practiced in OpenGL yet and I have little problem with lighting. Whenever I try to call glLightfv() function with numerical parameter like:
glLightfv(GL_LIGHT0,GL_CONSTANT_ATTENUATION,4.0f);[\code] occurs following error: "Type mismatch in parameter 'params' (wanted 'const float *', got 'double')" What I'm doing wrong?