Browse Source

Fix build

pull/6/head
falkTX 8 years ago
parent
commit
0793c3dbd7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      distrho/src/DistrhoUI.cpp

+ 2
- 1
distrho/src/DistrhoUI.cpp View File

@@ -15,6 +15,7 @@
*/

#include "DistrhoUIInternal.hpp"
#include "src/WidgetPrivateData.hpp"

START_NAMESPACE_DISTRHO

@@ -32,7 +33,7 @@ UI::UI(uint width, uint height)
: UIWidget(*d_lastUiWindow),
pData(new PrivateData())
{
fNeedsFullViewport = true;
((UIWidget*)this)->pData->needsFullViewport = false;

if (width > 0 && height > 0)
setSize(width, height);


Loading…
Cancel
Save