Skip to content

gl/frameworks: Use piglit_set_destroy_func() when gl_fw->destroy is set

Jordan Justen requested to merge jljusten/piglit:set-destroy-func-more into main

@zmike: I found that, following c2b31333, when running with gbm winsys, the destroy function was not being called. This changed helps with that case, but I didn't check the other code paths. Does this change seem right?

Fixes: c2b31333 ("framework: call destroy directly instead of using atexit")

Merge request reports

Loading