Displaying 1 result from an estimated 1 matches for "glshort".
Did you mean:
lshort
2005 Jul 19
0
Problems in rgl on MacOS X
...#39;void Texture::beginUse(RenderContext*)':
scene.cpp:1994: error: invalid conversion from 'int*' to 'GLint*'
make: *** [scene.o] Error 1
ERROR: compilation failed for package 'rgl'
The compilers complaint appears to be legitimate in gl.h there is:
......
typedef short GLshort;
typedef long GLint;
typedef long GLsizei;
........
extern void glGetHistogramParameteriv (GLenum target, GLenum pname,
GLint *params);
extern void glGetIntegerv (GLenum pname, GLint *params);
extern void glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
.............
and in scene.cpp...