[Mesa-dev] [Bug 29644] glsl2 regression: oolite and vegastrike segfault on initialization

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 18 04:18:18 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29644

--- Comment #1 from Luca Barbieri <luca.barbieri at gmail.com> 2010-08-18 04:18:18 PDT ---
I just sent a patch to Ian Romanick that should fix exactly this.

I think your patch is incorrect, though.

IMHO that line should be:
if (field && (!statevars[i].field || strcmp(statevars[i].field, field) != 0))
continue;

i.e. if the user specifies a field, but the entry we're examining doesn't have
one, or it doesn't match, then it's not the one we are looking for.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list