diff options
author | Ian Romanick <[email protected]> | 2015-11-10 21:33:52 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-01-11 15:38:03 -0800 |
commit | d6782712a14985d292f060d1fa1684b1dc2c02cd (patch) | |
tree | 29c5792143a362bab1d5dba1e1eae782abc826c2 /src/glx | |
parent | 36f413209f0c3e066578058cdc616a8b0dbb8a97 (diff) |
meta/generate_mipmap: Save and restore the sampler using gl_sampler_object instead of GL API object handle
Some meta operations can be called recursively. Future changes (the
"Don't pollute the ... namespace" changes) will cause objects with
invalid names to be used. If a nested meta operation tries to restore
an object named 0xDEADBEEF, it will fail.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glx')
0 files changed, 0 insertions, 0 deletions