From f1c3e35272631e31e033db1fe51f08d134841372 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 24 May 2014 05:18:08 +0100 Subject: [PATCH] Mention text in NanoVG atlas params --- dgl/NanoVG.hpp | 4 ++-- dgl/src/NanoVG.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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,); }