fx: set default priority

main
Dominik Madarász 2024-03-27 14:03:21 +01:00
parent 9992c74e52
commit f66f0336c2
3 changed files with 3 additions and 0 deletions

View File

@ -372321,6 +372321,7 @@ int postfx_load_from_mem( postfx *fx, const char *name, const char *fs ) {
array_push(fx->pass, pass); array_push(fx->pass, pass);
passfx *p = array_back(fx->pass); passfx *p = array_back(fx->pass);
p->name = STRDUP(name); p->name = STRDUP(name);
p->priority = ~0u;
// preload stuff // preload stuff
static const char *vs = 0; static const char *vs = 0;

View File

@ -2302,6 +2302,7 @@ int postfx_load_from_mem( postfx *fx, const char *name, const char *fs ) {
array_push(fx->pass, pass); array_push(fx->pass, pass);
passfx *p = array_back(fx->pass); passfx *p = array_back(fx->pass);
p->name = STRDUP(name); p->name = STRDUP(name);
p->priority = ~0u;
// preload stuff // preload stuff
static const char *vs = 0; static const char *vs = 0;

View File

@ -19474,6 +19474,7 @@ int postfx_load_from_mem( postfx *fx, const char *name, const char *fs ) {
array_push(fx->pass, pass); array_push(fx->pass, pass);
passfx *p = array_back(fx->pass); passfx *p = array_back(fx->pass);
p->name = STRDUP(name); p->name = STRDUP(name);
p->priority = ~0u;
// preload stuff // preload stuff
static const char *vs = 0; static const char *vs = 0;