shared opengl context

This commit is contained in:
2025-09-21 03:05:32 +02:00
parent 4c61838665
commit 6714decf17
7 changed files with 111 additions and 115 deletions
-5
View File
@@ -24,7 +24,6 @@ static void print_help(int status_code) {
"[-f=DIR_PATH] "
"[-fc=CFG_PATH] "
"[-is=SIZE] "
"[-mf=FACTOR] "
"[-t=TEMPO] "
"[--demo] "
"[-w] "
@@ -41,7 +40,6 @@ static void print_help(int status_code) {
" -fc, --frag-config fragment shaders config file (default: "
"TODO)\n"
" -is, --internal-size internal texture height (default: 720)\n"
" -mf, --monitor-factor monitor internal texture downscale factor "
"(default: "
"3)\n"
" -t, --tempo base tempo (default: 60)\n"
@@ -92,7 +90,6 @@ Parameters args_parse(int argc, char **argv) {
params.frag_path = 0;
params.frag_config_path = 0;
params.internal_size = 720;
params.monitor_factor = 3;
params.base_tempo = 60.0f;
params.demo = false;
params.windowed = false;
@@ -117,8 +114,6 @@ Parameters args_parse(int argc, char **argv) {
params.base_tempo = (float)parse_uint(arg, value);
} else if (is_arg(arg, "-is") || is_arg(arg, "--internal-size")) {
params.internal_size = parse_uint(arg, value);
} else if (is_arg(arg, "-mf") || is_arg(arg, "--monitor-factor")) {
params.monitor_factor = parse_uint(arg, value);
} else if (is_arg(arg, "-m") || is_arg(arg, "--monitor")) {
params.monitor = true;
params.monitor_screen = parse_uint(arg, value);