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
Allow negative scaling of NanoVG context
pull/49/head
Patrick Desaulniers
GitHub
7 years ago
parent
e70a6d2719
commit
08d915bfd1
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
dgl/src/NanoVG.cpp
+ 1
- 3
dgl/src/NanoVG.cpp
View File
@@ -472,9 +472,7 @@ void NanoVG::skewY(float angle)
void NanoVG::scale(float x, float y)
{
if (fContext == nullptr) return;
DISTRHO_SAFE_ASSERT_RETURN(x > 0.0f,);
DISTRHO_SAFE_ASSERT_RETURN(y > 0.0f,);
nvgScale(fContext, x, y);
}
Write
Preview
Loading…
Cancel
Save