mirror of
https://github.com/alexhopeoconnor/DFTE.git
synced 2026-10-21 20:22:37 +10:00
Release DFTE 1.0.1
This commit is contained in:
@@ -10,17 +10,8 @@
|
||||
#define DFTE_MAX_ITERATIONS_DEFAULT 50
|
||||
#endif
|
||||
|
||||
// Use DeviceFramework config defaults at compile-time if available, otherwise use internal defaults
|
||||
#ifdef DEVICEFRAMEWORK_CONFIG_H
|
||||
// DeviceFramework is present - use config defaults
|
||||
// DeviceFrameworkConfig.h must be included before this file to access CONFIG_*_default macros
|
||||
#ifdef CONFIG_templateMaxIterations_default
|
||||
#define DFTE_MAX_ITERATIONS CONFIG_templateMaxIterations_default
|
||||
#else
|
||||
#define DFTE_MAX_ITERATIONS DFTE_MAX_ITERATIONS_DEFAULT
|
||||
#endif
|
||||
#else
|
||||
// Standalone usage - use internal defaults
|
||||
// Renderer settings are build-wide DFTE_* flags.
|
||||
#ifndef DFTE_MAX_ITERATIONS
|
||||
#define DFTE_MAX_ITERATIONS DFTE_MAX_ITERATIONS_DEFAULT
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user