Hi,
I’m getting glGetTexLevelParameter is undefined
(running in windows)
my gl include files are:
#include <gl/glew.h>
#include <gl/GL.h>
#include <gl/GLU.h>
#include <gl/wglew.h>
has anyone run into this problem?
thanks,
Francisco
Hi,
I’m getting glGetTexLevelParameter is undefined
(running in windows)
my gl include files are:
#include <gl/glew.h>
#include <gl/GL.h>
#include <gl/GLU.h>
#include <gl/wglew.h>
has anyone run into this problem?
thanks,
Francisco
Nevermind. I found this:
GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
The red book is telling me to use something no longer supported.
I can’t wait for the new red book.
glGetTexLevelParameter was never a function. The name represents a group of functions. Just like people talk about glUniform, even though there is no glUniform function (there are glUniform1i, glUniform4fv, etc).
Most OpenGL materials concatenate these groups of functions into a single name without the trailing letters.