SDL_SetTextureScaleMode(t, SDL_SCALEMODE_NEAREST); However, it always seems to use linear scaling now when using SetRenderLogicalPresentation. I have done a test by not using SetRenderLogicalPresentation and just using scale which matches my logical scale: SDL_SetRenderScale(_renderer, 2.0, 2.0...
ilyachastikovchanged the titleCorrupted scaling surface result for float surfce types with SDL_SCALEMODE_NEARESTNov 26, 2024 sloukenadded a commit to slouken/SDL that referenced this issueDec 21, 2024 SDL_SoftStretch() doesn't handle large pixel formats ...
Hi, so, with SDL3 the default scale mode changed to bi-linear instead of nearest pixel, and as I'm making a pixel game, having a function that can change the default scale mode (for a given renderer, optionally) whenever a texture is created would be neat. This isn't really urgent,...