mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-13 20:45:38 +00:00
Fix for glsl threading crash #97 2/?
This commit is contained in:
@ -228,7 +228,7 @@ void projectM::readConfig (const std::string & configFile )
|
||||
|
||||
_settings.easterEgg = config.read<float> ( "Easter Egg Parameter", 0.0);
|
||||
_settings.softCutRatingsEnabled =
|
||||
config.read<float> ( "Soft Cut Ratings Enabled", false);
|
||||
config.read<bool> ( "Soft Cut Ratings Enabled", false);
|
||||
|
||||
projectM_init ( _settings.meshX, _settings.meshY, _settings.fps,
|
||||
_settings.textureSize, _settings.windowWidth,_settings.windowHeight);
|
||||
|
||||
@ -135,6 +135,21 @@ public:
|
||||
float easterEgg;
|
||||
bool shuffleEnabled;
|
||||
bool softCutRatingsEnabled;
|
||||
|
||||
Settings() :
|
||||
meshX(32),
|
||||
meshY(24),
|
||||
fps(35),
|
||||
textureSize(512),
|
||||
windowWidth(512),
|
||||
windowHeight(512),
|
||||
smoothPresetDuration(10),
|
||||
presetDuration(15),
|
||||
beatSensitivity(10.0),
|
||||
aspectCorrection(true),
|
||||
easterEgg(0.0),
|
||||
shuffleEnabled(true),
|
||||
softCutRatingsEnabled(false) {}
|
||||
};
|
||||
|
||||
projectM(std::string config_file, int flags = FLAG_NONE);
|
||||
|
||||
Reference in New Issue
Block a user