Пример #1
0
void ycursDestroy(void)
{
  if (type == -1)
    return;
  endwin();
  ywidRemoveRender(type);
  type = -1;
}
Пример #2
0
void    ysdl2Destroy(void)
{
  if (type == -1)
    return;
  SDL_DestroyWindow(sg.pWindow);
  IMG_Quit();
  TTF_Quit();
  SDL_Quit();
  ywidRemoveRender(type);
  type = -1;
}