diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2009-09-16 16:43:50 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-09-16 16:43:50 -0700 |
commit | 9666529b5a5be1fcde82caadc2fe2efa5ea81e49 (patch) | |
tree | ac1b44121f8fa60f70fe167f3f2775c7895ec924 /docs | |
parent | 08d39251a79a964e4a3ac0d7d8a397c2b66a0808 (diff) |
glx: Use initstate_r / random_r instead of corrupting global random number state
Previously srandom and random were used. This cause the global random
number generator state to be modified. This caused problems for
applications that called srandom before calling into GLX. By using
local state the global state is left unmodified.
This should fix bug #23774.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions