@@ -1680,15 +1680,16 @@ extern SDL_DECLSPEC const char * SDLCALL SDL_GetWindowTitle(SDL_Window *window);
1680
1680
/**
1681
1681
* Set the icon for a window.
1682
1682
*
1683
- * If this function is passed a surface with alternate representations added using SDL_AddSurfaceAlternateImage(), the
1684
- * surface will be interpreted as the content to be used for 100% display
1685
- * scale, and the alternate representations will be used for high DPI
1686
- * situations. For example, if the original surface is 32x32, then on a 2x
1687
- * macOS display or 200% display scale on Windows, a 64x64 version of the
1688
- * image will be used, if available. If a matching version of the image isn't
1689
- * available, the closest larger size image will be downscaled to the
1690
- * appropriate size and be used instead, if available. Otherwise, the closest
1691
- * smaller image will be upscaled and be used instead.
1683
+ * If this function is passed a surface with alternate representations added
1684
+ * using SDL_AddSurfaceAlternateImage(), the surface will be interpreted as
1685
+ * the content to be used for 100% display scale, and the alternate
1686
+ * representations will be used for high DPI situations. For example, if the
1687
+ * original surface is 32x32, then on a 2x macOS display or 200% display scale
1688
+ * on Windows, a 64x64 version of the image will be used, if available. If a
1689
+ * matching version of the image isn't available, the closest larger size
1690
+ * image will be downscaled to the appropriate size and be used instead, if
1691
+ * available. Otherwise, the closest smaller image will be upscaled and be
1692
+ * used instead.
1692
1693
*
1693
1694
* \param window the window to change.
1694
1695
* \param icon an SDL_Surface structure containing the icon for the window.
0 commit comments