SDL_RenderDebugText() is no longer blurry when scaled

This commit is contained in:
Sam Lantinga
2025-10-04 12:03:38 -07:00
parent dc1cc98e2b
commit d832ac5d6f

View File

@@ -2788,8 +2788,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetRenderVSync(SDL_Renderer *renderer, int
* Among these limitations: * Among these limitations:
* *
* - It accepts UTF-8 strings, but will only renders ASCII characters. * - It accepts UTF-8 strings, but will only renders ASCII characters.
* - It has a single, tiny size (8x8 pixels). One can use logical presentation * - It has a single, tiny size (8x8 pixels). You can use logical presentation
* or scaling to adjust it, but it will be blurry. * or SDL_SetRenderScale() to adjust it.
* - It uses a simple, hardcoded bitmap font. It does not allow different font * - It uses a simple, hardcoded bitmap font. It does not allow different font
* selections and it does not support truetype, for proper scaling. * selections and it does not support truetype, for proper scaling.
* - It does no word-wrapping and does not treat newline characters as a line * - It does no word-wrapping and does not treat newline characters as a line