DPF

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

commit 2a076932ef2f0870bb96743e9fb02ae7ca1f32b9
parent 2f1fb1b2de8d4eb0fd7d5f8dd54ba492cf2d4da5
Author: falkTX <falktx@gmail.com>
Date:   Fri, 30 May 2014 01:15:56 +0100

NanoImage::isValid is useless now, remove it

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

diff --git a/dgl/NanoVG.hpp b/dgl/NanoVG.hpp @@ -43,11 +43,6 @@ public: ~NanoImage(); /** - Check if this is a valid image. - */ - bool isValid() const noexcept; - - /** Get size. */ Size<int> getSize() const; diff --git a/dgl/src/NanoVG.cpp b/dgl/src/NanoVG.cpp @@ -94,11 +94,6 @@ NanoImage::~NanoImage() nvgDeleteImage(fContext, fImageId); } -bool NanoImage::isValid() const noexcept -{ - return (fContext != nullptr && fImageId != 0); -} - Size<int> NanoImage::getSize() const { int w=0, h=0;