|
From: <to...@te...> - 2007-06-22 05:14:01
|
to...@te... wrote:
> All examples work, except for two. The exext exsample segfaults at what
> is line 249 in the C version: 'glGenProgramsARB(1, &pid);'. I have no
> idea how this happens, so I'm hoping one of you knows what can cause
> this function to crash.
>
I've made some progress on this. If I print the address of
glGenProgramsARB, and then print what
wglGetProcAddress("glGenProgramsARB") returns, they are NOT equal.
Shouldn't they be? Any idea how this can end up being set to the wrong
address?
If I just call the functions I get from wglGetProcAddress, exext runs a
few lines further, and stop with the message "Error compiling the vertex
program: character -1". So at least I've made some progress. :)
Is it possible to build a debug version of agl.dll? Maybe it would help
to see the log output.
|