Browse Source

Fix windows build

Signed-off-by: falkTX <falktx@falktx.com>
pull/272/head
falkTX 4 years ago
parent
commit
99d4bff4a5
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      dgl/src/WindowPrivateData.cpp
  2. +1
    -1
      dgl/src/WindowPrivateData.hpp

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

@@ -563,7 +563,7 @@ void Window::PrivateData::onPuglConfigure(const double width, const double heigh
{ {
DISTRHO_SAFE_ASSERT_INT2_RETURN(width > 1 && height > 1, width, height,); DISTRHO_SAFE_ASSERT_INT2_RETURN(width > 1 && height > 1, width, height,);


DGL_DBGp("PUGL: onReshape : %i %i\n", width, height);
DGL_DBGp("PUGL: onReshape : %f %f\n", width, height);


if (autoScaling) if (autoScaling)
{ {


+ 1
- 1
dgl/src/WindowPrivateData.hpp View File

@@ -70,7 +70,7 @@ struct Window::PrivateData : IdleCallback {


#ifdef DISTRHO_OS_WINDOWS #ifdef DISTRHO_OS_WINDOWS
/** Selected file for openFileBrowser on windows, stored for fake async operation. */ /** Selected file for openFileBrowser on windows, stored for fake async operation. */
const char* win32SelectedFile;
char* win32SelectedFile;
#endif #endif


/** Modal window setup. */ /** Modal window setup. */


Loading…
Cancel
Save