aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-01 20:10:48 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-01 20:10:48 +0100
commit6fbd8b0dd369c704b21c8757c1f66e55dcf1cb91 (patch)
treef4b52fadb7d6cf2bf1139a17a73f8e70c10ad15b /src/main.cpp
parent0815da6f2c50750c5e5df6245ab18694402fb7c1 (diff)
Add option to automatically turn on replay at system startup
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0cc8076..51610aa 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -41,9 +41,7 @@ static void disable_prime_run() {
unsetenv("__VK_LAYER_NV_optimus");
}
-int main(int argc, char **argv) {
- (void)argc;
- (void)argv;
+int main(void) {
setlocale(LC_ALL, "C"); // Sigh... stupid C
// Cant get window texture when prime-run is used