Browse Source

NanoImage::isValid is useless now, remove it

gh-pages
falkTX 9 years ago
parent
commit
2a076932ef
2 changed files with 0 additions and 10 deletions
  1. +0
    -5
      dgl/NanoVG.hpp
  2. +0
    -5
      dgl/src/NanoVG.cpp

+ 0
- 5
dgl/NanoVG.hpp View File

@@ -42,11 +42,6 @@ public:
*/
~NanoImage();

/**
Check if this is a valid image.
*/
bool isValid() const noexcept;

/**
Get size.
*/


+ 0
- 5
dgl/src/NanoVG.cpp View File

@@ -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;


Loading…
Cancel
Save