diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-06-08 16:27:59 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-06-08 16:56:41 +0100 |
commit | 42678dba941b5a734e6aa03b530653d9c5341a70 (patch) | |
tree | bb3d6e683684a1ce1d80a143ef1fb0b0ff804b52 /progs/trivial/line-userclip-nop.c | |
parent | 33d63277706aede31559a24c0db76b37609e76ef (diff) |
mesa: Allocate tokens from the heap.
The recent increase ST_MAX_SHADER_TOKENS to 8K causes stack overflows on
windows.
Failure to allocate is not being propagated to the caller. This is not
a regression since the previous _mesa_malloc result wasn't being
checked as well. Unfortunately it is not easy to fix, as the callers of
these functions do not have failure propagation mechanism either, and
so on. So leaving a just fixme note for now.
Diffstat (limited to 'progs/trivial/line-userclip-nop.c')
0 files changed, 0 insertions, 0 deletions