Beispiel #1
0
void say_window_free(say_window *win) {
  say_window_close(win);
  say_target_free(win->target);

  say_imp_window_free(win->win);

  free(win);
}
Beispiel #2
0
void say_image_target_free(say_image_target *target) {
    say_context_ensure();
    say_image_target_will_delete(target->fbo, target->rbo);

    glDeleteRenderbuffersEXT(1, &(target->rbo));
    glDeleteFramebuffersEXT(1, &(target->fbo));

    say_target_free(target->target);
    free(target);
}