Use vectors for pairs of scalar parameters

This commit is contained in:
Chris Thrasher committed 2024-08-31 12:03:21 -06:00
1 parent 10685c7d0d
commit 86d52f4712
20 files changed
+101 -123

No files matched your search

+1 -1
View File
@@ -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;