This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Reset NanoVG state before drawing.
tags/v1.0.0
Andrew Belt
5 years ago
parent
43dd52f9fe
commit
ffb9e4b661
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/window.cpp
+ 1
- 0
src/window.cpp
View File
@@ -364,6 +364,7 @@ void Window::run() {
if (visible) {
// Update and render
nvgBeginFrame(vg, fbWidth, fbHeight, pixelRatio);
nvgReset(vg);
nvgScale(vg, pixelRatio, pixelRatio);
widget::Widget::DrawArgs args;
Write
Preview
Loading…
Cancel
Save