I load the image via SDL_LoadBMP, convert it to texture, then copy it to texture2 and display it in the loop, but the image is not visible.
The image is visible if I use SDL_SetColorKey before converting to a texture or if I display it directly (target=NULL).
Can someone explain it to me? I am using SDL 2.0.8
The opposite happens. If I specify a key that is in the image - the other colors are visible. If it is not in the image - the whole image is not visible.