From 95a07e6803114dd92af6e3759ba81cfa53558726 Mon Sep 17 00:00:00 2001 From: SheepyChris Date: Fri, 17 Jun 2022 15:45:55 -0400 Subject: [PATCH] Add line labels to definition of default video card settings --- src/StepMania.cpp | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/StepMania.cpp b/src/StepMania.cpp index ff1d07a130..5163870bab 100644 --- a/src/StepMania.cpp +++ b/src/StepMania.cpp @@ -479,22 +479,26 @@ struct VideoCardDefaults } } const g_VideoCardDefaults[] = { - // We are not in 2005 anymore, rip out the Voodoos! + // These lines correspond to the struct defined above. VideoCardDefaults( - "OpenGL", // This matches all drivers in Mac and Linux. -Chris - "opengl", - 1280,720, - 32,32,32, - 2048, - true + "OpenGL", // Video card name (generic Mac/Linux) + "opengl", // Available renderers + 1280,720, // Default resolution + 32, // Display color + 32, // Texture color + 32, // Movie color + 2048, // Texture size + true // Smooth lines ), VideoCardDefaults( - "", - "opengl,d3d", - 1280,720, - 32,32,32, - 2048, - true + "", // Video card name (generic Windows) + "opengl,d3d", // Available renderers + 1280,720, // Default resolution + 32, // Display color + 32, // Texture color + 32, // Movie color + 2048, // Texture size + true // Smooth lines ), };