This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
NanoImage::isValid is useless now, remove it
gh-pages
falkTX
11 years ago
parent
2f1fb1b2de
commit
2a076932ef
2 changed files
with
0 additions
and
10 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-5
dgl/NanoVG.hpp
+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;
Write
Preview
Loading…
Cancel
Save