mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 21:36:33 -04:00
--Bug fixes
-Add missing Mac build files. -Convert PaletteList into a Singleton<T>.
This commit is contained in:
@ -63,7 +63,7 @@ bool EmberRender(EmberOptions& opt)
|
||||
if (opt.EmberCL() && renderer->RendererType() != eRendererType::OPENCL_RENDERER)//OpenCL init failed, so fall back to CPU.
|
||||
opt.EmberCL(false);
|
||||
|
||||
if (!InitPaletteList<T>(opt.PalettePath()))//For any modern flames, the palette isn't used. This is for legacy purposes and should be removed.
|
||||
if (!InitPaletteList<float>(opt.PalettePath()))//For any modern flames, the palette isn't used. This is for legacy purposes and should be removed.
|
||||
return false;
|
||||
|
||||
if (!ParseEmberFile(parser, opt.Input(), embers))
|
||||
@ -349,6 +349,7 @@ int _tmain(int argc, _TCHAR* argv[])
|
||||
|
||||
if (!opt.Populate(argc, argv, eOptionUse::OPT_USE_RENDER))
|
||||
{
|
||||
auto palf = PaletteList<float>::Instance();
|
||||
#ifdef DO_DOUBLE
|
||||
|
||||
if (!opt.Sp())
|
||||
|
Reference in New Issue
Block a user