diff options
author | José Fonseca <[email protected]> | 2012-08-24 11:27:22 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-08-24 11:28:00 +0100 |
commit | 3e3f99277df947a96029580dc4e66ae38a93f004 (patch) | |
tree | 0ab4fc580f7188e7850565902951a7b19dbd1b25 /src/mesa/main/teximage.c | |
parent | e84d45fdb73687019a6798cfb37b01291b212f4d (diff) |
draw: Fix regression in draw_set_sampler(_views).
draw->samplers(_views) now has PIPE_SHADER_TYPES elements, instead of
PIPE_MAX_SAMPLERS as before.
Also, shader_stage must be less than PIPE_SHADER_TYPES to prevent buffer
overflow.
Trivial.
Diffstat (limited to 'src/mesa/main/teximage.c')
0 files changed, 0 insertions, 0 deletions