| 335 | // NanoVG |
| 336 | |
| 337 | NanoVG::NanoVG(int flags) |
| 338 | : fContext(nvgCreateGL(flags)), |
| 339 | fInFrame(false), |
| 340 | fIsSubWidget(false) |
| 341 | { |
| 342 | DISTRHO_CUSTOM_SAFE_ASSERT("Failed to create NanoVG context, expect a black screen", fContext != nullptr); |
| 343 | } |
| 344 | |
| 345 | NanoVG::NanoVG(NVGcontext* const context) |
| 346 | : fContext(context), |
nothing calls this directly
no test coverage detected