mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-14 02:54:37 -04:00
Move su_load_gmdls into the responsibility of the intro to call, anticipating multicore rendering so it is called once before all the cores are spun up.
This commit is contained in:
@ -26,6 +26,10 @@
|
||||
#endif
|
||||
extern void CALLCONV su_render(void *);
|
||||
|
||||
#ifdef INCLUDE_GMDLS
|
||||
extern void CALLCONV su_load_gmdls(void);
|
||||
#endif
|
||||
|
||||
extern int su_max_samples;
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
@ -59,6 +63,10 @@ int main(int argc, char* argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifdef INCLUDE_GMDLS
|
||||
su_load_gmdls();
|
||||
#endif
|
||||
|
||||
su_render(buf);
|
||||
|
||||
snprintf(filename, sizeof filename, "%s%s%s", expected_output_folder, test_name, ".raw");
|
||||
|
Reference in New Issue
Block a user