diff options
author | Ian Romanick <[email protected]> | 2015-11-10 18:46:12 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-01-11 15:38:03 -0800 |
commit | 533320e4d1367f8acb81dab6e1a15bbc3ebb2385 (patch) | |
tree | 778569b7817b957639f6bc22cc37fcc042745961 /src/mesa/tnl | |
parent | d796b491cc0fb42c503b982a043e0e490d691353 (diff) |
meta/blit: 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.
v2: Add a comment explaining why samp_obj_save is set to NULL in
_mesa_meta_fb_tex_blit_begin. This came out of review feedback from
Jason.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/tnl')
0 files changed, 0 insertions, 0 deletions