Searched refs:SDL_DONTFREE (Results 1 – 3 of 3) sorted by relevance
55 #define SDL_DONTFREE 0x00000004 /**< Surface is referenced internally */ macro
1529 window->surface->flags &= ~SDL_DONTFREE; in SDL_RecreateWindow()2164 window->surface->flags &= ~SDL_DONTFREE; in SDL_GetWindowSurface()2170 window->surface->flags |= SDL_DONTFREE; in SDL_GetWindowSurface()2577 window->surface->flags &= ~SDL_DONTFREE; in SDL_DestroyWindow()
1156 if (surface->flags & SDL_DONTFREE) { in SDL_FreeSurface()