Browse Source

Merge branch 'master' of github.com:DISTRHO/DPF

pull/83/head
falkTX 6 years ago
parent
commit
8fcf971148
3 changed files with 4 additions and 6 deletions
  1. +2
    -4
      dgl/src/NanoVG.cpp
  2. +1
    -1
      dgl/src/Window.cpp
  3. +1
    -1
      distrho/src/DistrhoPluginLV2export.cpp

+ 2
- 4
dgl/src/NanoVG.cpp View File

@@ -447,10 +447,8 @@ void NanoVG::translate(float x, float y)

void NanoVG::rotate(float angle)
{
if (fContext == nullptr) return;
DISTRHO_SAFE_ASSERT_RETURN(angle > 0.0f,);

nvgRotate(fContext, angle);
if (fContext != nullptr)
nvgRotate(fContext, angle);
}

void NanoVG::skewX(float angle)


+ 1
- 1
dgl/src/Window.cpp View File

@@ -57,7 +57,7 @@ extern "C" {
#define FOR_EACH_WIDGET_INV(rit) \
for (std::list<Widget*>::reverse_iterator rit = fWidgets.rbegin(); rit != fWidgets.rend(); ++rit)

#ifdef DEBUG
#if defined(DEBUG) && defined(DGL_DEBUG_EVENTS)
# define DBG(msg) std::fprintf(stderr, "%s", msg);
# define DBGp(...) std::fprintf(stderr, __VA_ARGS__);
# define DBGF std::fflush(stderr);


+ 1
- 1
distrho/src/DistrhoPluginLV2export.cpp View File

@@ -202,7 +202,7 @@ void lv2_generate_ttl(const char* const basename)
String pluginString;

// header
#if DISTRHO_LV2_USE_EVENTS_IN
#if DISTRHO_LV2_USE_EVENTS_IN || DISTRHO_LV2_USE_EVENTS_OUT
pluginString += "@prefix atom: <" LV2_ATOM_PREFIX "> .\n";
#endif
pluginString += "@prefix doap: <http://usefulinc.com/ns/doap#> .\n";


Loading…
Cancel
Save