Lines Matching refs:texture
24 SDL_Texture *texture; member
29 void render(SDL_Renderer *renderer,SDL_Texture *texture,SDL_Rect texture_dimensions) in render() argument
36 SDL_RenderCopy(renderer,texture,&texture_dimensions,&texture_dimensions); in render()
127 pictures[i].texture = NULL; in main()
129 pictures[i].texture = SDL_CreateTextureFromSurface(renderer,pictures[i].surface); in main()
130 if(pictures[i].texture == NULL) { in main()
132 if(pictures[i].texture != NULL) in main()
133 SDL_DestroyTexture(pictures[i].texture); in main()
153 …SDL_QueryTexture(pictures[current_picture].texture,(Uint32 *)&pixelFormat,(int *)&access,&texture_… in main()
171 …SDL_QueryTexture(pictures[current_picture].texture,(Uint32 *)&pixelFormat,(int *)&access,&texture_… in main()
180 render(renderer,pictures[current_picture].texture,texture_dimensions); in main()
186 SDL_DestroyTexture(pictures[i].texture); in main()