summaryrefslogtreecommitdiff
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-03-11 09:25:22 -0700
committerBrian Paul <brianp@vmware.com>2011-03-11 09:25:22 -0700
commit8cc84b3e454cf03c71282322e988f03bc4a1baa3 (patch)
tree24776b266f98b8ef7aa8fb3c3fcd8153ed170a69 /src/mesa/main/get.c
parentdecc6e2a32ef49e673c081f30e19b8970155d887 (diff)
mesa: use check_resources() to check program against limits
Without these checks we could create shaders with more samplers, constants than the driver could handle. Fail linking rather than dying later.
Diffstat (limited to 'src/mesa/main/get.c')
0 files changed, 0 insertions, 0 deletions