mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Use vectors for pairs of scalar parameters
This commit is contained in:
1 parent
10685c7d0d
commit
86d52f4712
20 files changed
+101
-123
No files matched your search
+1
-1
@@ -6,7 +6,7 @@
|
||||
int main(void)
|
||||
{
|
||||
// Create the main window
|
||||
const sfVideoMode mode = {800, 600, 32};
|
||||
const sfVideoMode mode = {{800, 600}, 32};
|
||||
sfRenderWindow* window = sfRenderWindow_create(mode, "SFML window", sfResize | sfClose, sfWindowed, NULL);
|
||||
if (!window)
|
||||
return EXIT_FAILURE;
|
||||
|
||||
Reference in new issue
Block a user