| 280 | } |
| 281 | |
| 282 | void ModularSynth::LoadResources(void* nanoVG, void* fontBoundsNanoVG) |
| 283 | { |
| 284 | gNanoVG = (NVGcontext*)nanoVG; |
| 285 | gFontBoundsNanoVG = (NVGcontext*)fontBoundsNanoVG; |
| 286 | LoadGlobalResources(); |
| 287 | |
| 288 | if (!gFont.IsLoaded()) |
| 289 | mFatalError = "couldn't load font from " + gFont.GetFontPath() + "\nmaybe bespoke can't find your resources directory?"; |
| 290 | } |
| 291 | |
| 292 | void ModularSynth::InitIOBuffers(int inputChannelCount, int outputChannelCount) |
| 293 | { |
no test coverage detected