DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit f1c3e35272631e31e033db1fe51f08d134841372
parent 78458576f7874f3c3cf41c10d7a292c372ef7f61
Author: falkTX <falktx@gmail.com>
Date:   Sat, 24 May 2014 05:17:43 +0100

Mention text in NanoVG atlas params

Diffstat:
Mdgl/NanoVG.hpp | 4++--
Mdgl/src/NanoVG.cpp | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 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 @@ -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,); }