Note that creating a renderer will fail if the preferred renderer isn't available.

Fixes https://github.com/libsdl-org/SDL/issues/11077
This commit is contained in:
Sam Lantinga 2024-10-05 09:55:26 -07:00
parent 1ca45c5891
commit b8e72b0969
1 changed files with 1 additions and 1 deletions

View File

@ -2767,7 +2767,7 @@ extern "C" {
* *
* If the application doesn't pick a specific renderer to use, this variable * If the application doesn't pick a specific renderer to use, this variable
* specifies the name of the preferred renderer. If the preferred renderer * specifies the name of the preferred renderer. If the preferred renderer
* can't be initialized, the normal default renderer is used. * can't be initialized, creating a renderer will fail.
* *
* This variable is case insensitive and can be set to the following values: * This variable is case insensitive and can be set to the following values:
* *