mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 13:53:36 +02: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");
|
||||
/// if (!font)
|
||||
/// return EXIT_FAILURE;
|
||||
/// text = sfText_create();
|
||||
/// text = sfText_create(font);
|
||||
/// sfText_setString(text, "Hello SFML");
|
||||
/// sfText_setFont(text, font);
|
||||
/// sfText_setCharacterSize(text, 50);
|
||||
///
|
||||
/// /* Load a music to play */
|
||||
|
||||
Reference in new issue
Block a user