CopyCat
05-23-2002, 09:05 AM
Hi got a problem..
Probaly knwo the couse but don't knwo the solution.
I'm making a opengl renderer under linux.
And using somthing like plugin effects system ( the effects are stored in .so files and are loaded dynamicly with use of dnfcl.h functions ).
Now the problem is , the functions inside the .so files use gl functions ( applying textures etc ) but there is no effect...
Checked if the functions from the lib are loaded probpaly and if the function inside are realy called.
The main thread ( where the glx context was created ) is in the app which loads the .so files.
I checked if the functions inside the .so have acces to to GLX conetxt ( with glXGetCurrenContext ) and the structs points to the smae context as the struct created in the app ).
Probaly knwo the couse but don't knwo the solution.
I'm making a opengl renderer under linux.
And using somthing like plugin effects system ( the effects are stored in .so files and are loaded dynamicly with use of dnfcl.h functions ).
Now the problem is , the functions inside the .so files use gl functions ( applying textures etc ) but there is no effect...
Checked if the functions from the lib are loaded probpaly and if the function inside are realy called.
The main thread ( where the glx context was created ) is in the app which loads the .so files.
I checked if the functions inside the .so have acces to to GLX conetxt ( with glXGetCurrenContext ) and the structs points to the smae context as the struct created in the app ).