Advertisement

strange extension warning...

Started by July 31, 2003 11:50 AM
0 comments, last by UnIcron 21 years, 7 months ago
In order to teach myself more about OpenGL extensions, I decided to rewrite my particle engine using GL_NV_point_sprite. It worked fine, and I decided to try and use glPointParameterfvARB to make the sprite sizes vary with distance. I''m using Linux, so I used glx to get a pointer to the function like so:

PFNGLPOINTPARAMETERFVARBPROC glPointParameterfvARB = NULL;

glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)
    glXGetProcAddressARB((const GLubyte*)"glPointParameterfvARB");
 
I seem to able to use the function OK, but I get this warning:

/usr/bin/ld: Warning: type of symbol `glPointParameterfvARB'' changed from 2 to 1 in /tmp/ccMZQR65.o
 
Could someone please tell me how to get rid of this warning?
turn compiler warnings off, if your compiler has this option.

This topic is closed to new replies.

Advertisement