static void destroy(struct piglit_gl_framework *gl_fw) { piglit_gl_framework_teardown(gl_fw); glut_fw.result = 0; glut_fw.window = 0; }
void piglit_wfl_framework_teardown(struct piglit_wfl_framework *wfl_fw) { waffle_window_destroy(wfl_fw->window); waffle_context_destroy(wfl_fw->context); waffle_config_destroy(wfl_fw->config); waffle_display_disconnect(wfl_fw->display); piglit_gl_framework_teardown(&wfl_fw->gl_fw); }