Searched refs:pg_texture (Results 1 – 1 of 1) sorted by relevance
43 static SDL_Texture *pg_texture = NULL; variable916 if (pg_texture) { in pg_set_mode()917 SDL_DestroyTexture(pg_texture); in pg_set_mode()918 pg_texture = NULL; in pg_set_mode()1245 pg_texture = SDL_CreateTexture( in pg_set_mode()1537 SDL_UpdateTexture(pg_texture, NULL, screen->pixels, screen->pitch); in pg_flip_internal()1539 SDL_RenderCopy(pg_renderer, pg_texture, NULL, NULL); in pg_flip_internal()2186 SDL_DestroyTexture(pg_texture); in pg_toggle_fullscreen()2190 pg_texture = in pg_toggle_fullscreen()2301 SDL_DestroyTexture(pg_texture); in pg_toggle_fullscreen()[all …]