woleksy
05-07-2004, 03:23 PM
This is the function declaration in my .h file
int Bricks(GLcharARB *brickVertex, GLcharARB *brickFragment);
This is the declaration in my brickshader.c
int Bricks(GLcharARB *brickVertex, GLcharARB *brickFragment)
These are the lines where I am having problems.
glShaderSourceARB(brickVS, 1, &brickVertex, NULL);
glShaderSourceARB(brickFS, 1, &brickFragment, NULL);
and here is the error that I am getting
error C2664: 'void (GLhandleARB,GLsizei,const GLcharARB ** ,const GLint *)' : cannot convert parameter 3 from 'GLcharARB **__w64 ' to 'const GLcharARB ** '
Conversion loses qualifiers
does anyone know what is causing this or how I can fix it.
I really appreciate any help i can get
thanks
W
int Bricks(GLcharARB *brickVertex, GLcharARB *brickFragment);
This is the declaration in my brickshader.c
int Bricks(GLcharARB *brickVertex, GLcharARB *brickFragment)
These are the lines where I am having problems.
glShaderSourceARB(brickVS, 1, &brickVertex, NULL);
glShaderSourceARB(brickFS, 1, &brickFragment, NULL);
and here is the error that I am getting
error C2664: 'void (GLhandleARB,GLsizei,const GLcharARB ** ,const GLint *)' : cannot convert parameter 3 from 'GLcharARB **__w64 ' to 'const GLcharARB ** '
Conversion loses qualifiers
does anyone know what is causing this or how I can fix it.
I really appreciate any help i can get
thanks
W