Hi,
two simple question
-
Why does the glTexParameterf exist?
The param value, that in the function signature is a float, must always be a GL flag that is always int; so i don’t get why i should use a float. :oops: -
This code works:
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
but i can say for sure that GL_LINEAR is not the fixed point value of GL_LINEAR, cause they are the same
So i gues that the glTexParameterx is not the fixed point version of the glTexParameterf, but is integer version. Am i doing an error??
EDIT:
If the glTexParameterx is the fixed point version i would expect to write something like this:
glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, toFixedPoint(GL_LINEAR));
Thanks