Description
My display need a rotation from 270 ° / display size 800x1280
I use this code to rotate the screen
SDL_SetRenderTarget(Display.renderer, NULL);
SDL_RenderCopyEx(Display.renderer, Display.targetrender, &Display_Rect, &Display_Rect_Map, Display_Rotate_Angle, &Display_Rotate, 0);
SDL_RenderPresent(Display.renderer);
SDL_SetRenderTarget(Display.renderer, Display.targetrender);
It works under before version 2.32.x,, after the output is not rotated.
Render info is the same for both versions:
Renderer: opengles2 Software=0 Accelerated=1, Presentvsync=1 Targettexture=1
Current Mode bpp 32 SDL_PIXELFORMAT_ARGB8888 800 x 1280
INFO: SDL_GetNumVideoDisplays(): 1
INFO: SDL_GetNumDisplayModes: 1
INFO: Mode 0 bpp 32 SDL_PIXELFORMAT_ARGB8888 800 x 1280
INFO: Current Mode 0 bpp 32 SDL_PIXELFORMAT_ARGB8888 800 x 1280
Touch Devices = 1
I use the vc4-fkms-v3d-pi4 driver