예제 #1
0
파일: curses.c 프로젝트: cosmo-ray/yirl
void ycursDestroy(void)
{
  if (type == -1)
    return;
  endwin();
  ywidRemoveRender(type);
  type = -1;
}
예제 #2
0
파일: sdl.c 프로젝트: IGLOU-EU/yirl
void    ysdl2Destroy(void)
{
  if (type == -1)
    return;
  SDL_DestroyWindow(sg.pWindow);
  IMG_Quit();
  TTF_Quit();
  SDL_Quit();
  ywidRemoveRender(type);
  type = -1;
}