diff options
author | Jerome Glisse <glisse@freedesktop.org> | 2007-01-14 14:49:36 +0100 |
---|---|---|
committer | Jerome Glisse <glisse@freedesktop.org> | 2007-01-14 14:49:36 +0100 |
commit | 6dd967e74ff4cb03220d5785bd583203464d299d (patch) | |
tree | 614dd40f8b027bdfaa61c26bd5a7f6ae4a1de13e /src/mesa/shader/nvvertexec.c | |
parent | e7112be7321c58e6039fde28f47ffe3dce5cc205 (diff) |
mesa: Update _Current ptr along Current when a new vertex program is bind.
On new vertex program bind only the Current ptr where updated to
point to the new program; this could lead to _Current pointing to
and out of date or even a no more existing program which in turn
could lead to a segfault in some driver. To avoid this _Current
ptr is updated along Current if _Current where previously pointing
to the same program.
Diffstat (limited to 'src/mesa/shader/nvvertexec.c')
0 files changed, 0 insertions, 0 deletions