MCPcopy Create free account
hub / github.com/DISTRHO/DPF / NanoVG

Method NanoVG

dgl/src/NanoVG.cpp:337–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335// NanoVG
336
337NanoVG::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
345NanoVG::NanoVG(NVGcontext* const context)
346 : fContext(context),

Callers

nothing calls this directly

Calls 1

nvgCreateGLFunction · 0.85

Tested by

no test coverage detected