Esempio n. 1
0
void ycursDestroy(void)
{
  if (type == -1)
    return;
  endwin();
  ywidRemoveRender(type);
  type = -1;
}
Esempio n. 2
0
File: sdl.c Progetto: IGLOU-EU/yirl
void    ysdl2Destroy(void)
{
  if (type == -1)
    return;
  SDL_DestroyWindow(sg.pWindow);
  IMG_Quit();
  TTF_Quit();
  SDL_Quit();
  ywidRemoveRender(type);
  type = -1;
}