SDL
SDL copied to clipboard
SDL 3.1.1 : SDL_FlipSurface() and SDL_ConvertSurfaceFormat() don't works...
SDL_FlipSurface() do nothing. SDL_ConvertSurfaceFormat() don't works well : it's convert a format without alpha to a format that take alpha or inverse but not replace RGB colors in any ways....
RGBA masks and shifts of the color format not take the effect if we use SDL_ConvertSurfaceFormat(), just the alpha is set or not, pixels are always in same place like the first initialisation of the surface by SDL_LoadBMP().
SDL 3.1.1 compiled by myself with VS 2022 latest version under win 10 Latest version.
Can you provide a minimal test program that shows the problem?
Thanks!
In fact , It's Work very well !!!! Excuses for the error of mine....