Some of my texture calls near the bottom of the screen are getting dropped. After debugging I found that these lines are responsible. This is happening on devices where SDL_SetRenderScale is less than one. I believe it was due to GetRenderViewportSize being changed inef758d0 (renderer, _dstrect); if(dstrect) { if(!SDL_HasRectInt...
SDL_RenderTexture9Grid is a very nice addition but just falls short on being 100% useful. As is the function works perfectly if the corners are all the same and all square, but if the 3x3 grid needs to be flexible this function won't work and we'll need to make 9 individual calls....
The following simplified code is generating a tile texture, and then repeatedly rendering it to a large map texture, which is then rendered once per cycle to the window: https://pastebin.com/8j2aCRz4 The expected behaviour is that the ti...
Spinning cube example with SDL_RenderTextureAffine #12662 Open expikr wants to merge 1 commit into libsdl-org:main from expikr:spinning-cube-example+142 −0 Conversation 0 Commits 1 Checks 39 Files changed 1 ConversationContributor expikr commented Mar 28, 2025 • edited Adapted from ...
Spinning cube example with SDL_RenderTextureAffine #12662 Merged slouken merged 1 commit into libsdl-org:main from expikr:spinning-cube-example Mar 28, 2025 +142 −0 Conversation 12 Commits 1 Checks 39 Files changed 1 Create affine-textures.c d22ebd7 Sign in for the full log view ...