mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-28 13:46:13 +01:00
Fix text creation in main page example
This commit is contained in:
1 file changed
+1
-2
+1
-2
@@ -42,9 +42,8 @@
|
|||||||
/// font = sfFont_createFromFile("arial.ttf");
|
/// font = sfFont_createFromFile("arial.ttf");
|
||||||
/// if (!font)
|
/// if (!font)
|
||||||
/// return EXIT_FAILURE;
|
/// return EXIT_FAILURE;
|
||||||
/// text = sfText_create();
|
/// text = sfText_create(font);
|
||||||
/// sfText_setString(text, "Hello SFML");
|
/// sfText_setString(text, "Hello SFML");
|
||||||
/// sfText_setFont(text, font);
|
|
||||||
/// sfText_setCharacterSize(text, 50);
|
/// sfText_setCharacterSize(text, 50);
|
||||||
///
|
///
|
||||||
/// /* Load a music to play */
|
/// /* Load a music to play */
|
||||||
|
|||||||
Reference in new issue
Block a user