summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-08-24 11:27:22 +0100
committerJosé Fonseca <[email protected]>2012-08-24 11:28:00 +0100
commit3e3f99277df947a96029580dc4e66ae38a93f004 (patch)
tree0ab4fc580f7188e7850565902951a7b19dbd1b25 /src/mesa/main/teximage.c
parente84d45fdb73687019a6798cfb37b01291b212f4d (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