mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-06 17:55:38 +00:00
Replaced behaviour FLAG_* constants with an enum.
This commit is contained in:
@ -6,12 +6,12 @@
|
||||
#include <utility>
|
||||
|
||||
projectMWrapper::projectMWrapper(std::string configFile, int flags)
|
||||
: ProjectM(std::move(configFile), flags)
|
||||
: ProjectM(std::move(configFile), static_cast<ProjectM::Flags>(flags))
|
||||
{
|
||||
}
|
||||
|
||||
projectMWrapper::projectMWrapper(ProjectM::Settings settings, int flags)
|
||||
: ProjectM(std::move(settings), flags)
|
||||
: ProjectM(std::move(settings), static_cast<ProjectM::Flags>(flags))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user