Brian Paul wrote:
> Wes Bethel wrote:
>> In MesaDemos-6.4.2, both of the fslight and arbfslight programs die with
>> a segfault regardless of whether I run using Mesa-6.4.2 or the NVIDIA
>> 97.55 drivers (on a QuadroFX card, Opteron workstation running SuSE 10.1)
>> fslight dies on line 266 when calling glCreateShader_func().
>> arbfslight dies on line 254 when calling glCreateShaderObjectARB().
>> Also, arbfplight dies on 304 when calling glGenProgramsARB_func().
>> fplight seems to work OK using either Mesa 6.5.2 or the 97.55 drivers.
>> I had been hoping to use these demo programs as code templates for
>> experimenting with fragment and shader programs.
> Are you sure it's 6.4.2? 6.4.2 didn't have those fragment shader demos.
Ahh, my bad. Meant to say 6.5.2.
> It did have arbfplight.c though. Seems OK here.
> Are you running 32 or 64-bit binaries?
> The current Mesa git has some newer/nicer GLSL examples in the
> progs/glsl/ directory. I could send you a tarball...
That's nice of you to offer -- sure, send it along.