diff --git a/dgl/NanoVG.hpp b/dgl/NanoVG.hpp index 8edc6a77..7ebd4711 100644 --- a/dgl/NanoVG.hpp +++ b/dgl/NanoVG.hpp @@ -261,9 +261,9 @@ public: NanoVG(); /** - Constructor using custom atlas size. + Constructor using custom text atlas size. */ - NanoVG(int atlasWidth, int atlasHeight); + NanoVG(int textAtlasWidth, int textAtlasHeight); /** Destructor. diff --git a/dgl/src/NanoVG.cpp b/dgl/src/NanoVG.cpp index 4d750b7d..7c2d2b98 100644 --- a/dgl/src/NanoVG.cpp +++ b/dgl/src/NanoVG.cpp @@ -128,8 +128,8 @@ NanoVG::NanoVG() DISTRHO_SAFE_ASSERT_RETURN(fContext != nullptr,); } -NanoVG::NanoVG(int atlasWidth, int atlasHeight) - : fContext(nvgCreateGL(atlasWidth, atlasHeight, NVG_ANTIALIAS)) +NanoVG::NanoVG(int textAtlasWidth, int textAtlasHeight) + : fContext(nvgCreateGL(textAtlasWidth, textAtlasHeight, NVG_ANTIALIAS)) { DISTRHO_SAFE_ASSERT_RETURN(fContext != nullptr,); }