Home
last modified time | relevance | path

Searched refs:pg_texture (Results 1 – 1 of 1) sorted by relevance

/dports/devel/py-game/pygame-2.1.0/src_c/
H A Ddisplay.c43 static SDL_Texture *pg_texture = NULL; variable
916 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 …]