mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-26 21:15:11 -06:00
lime_sdl: --windowed option is now valid, although adding it has no effect
The SDL executable is always windowed unless explicitly made fullscreen. This change is just to avoid error text when using the option interchangably between `lime_qt` and `lime_sdl`
This commit is contained in:
parent
2fbac69599
commit
3c03b2b39f
@ -226,11 +226,12 @@ void LaunchSdlFrontend(int argc, char** argv) {
|
||||
{"fullscreen", no_argument, 0, 'f'},
|
||||
{"help", no_argument, 0, 'h'},
|
||||
{"version", no_argument, 0, 'v'},
|
||||
{"windowed", no_argument, 0, 'w'},
|
||||
{0, 0, 0, 0},
|
||||
};
|
||||
|
||||
while (optind < argc) {
|
||||
int arg = getopt_long(argc, argv, "g:i:m:nr:p:fhv", long_options, &option_index);
|
||||
int arg = getopt_long(argc, argv, "g:i:m:nr:p:fhvw", long_options, &option_index);
|
||||
if (arg != -1) {
|
||||
switch (static_cast<char>(arg)) {
|
||||
case 'g':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user