summaryrefslogtreecommitdiff
path: root/distrho/src/DistrhoUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'distrho/src/DistrhoUI.cpp')
-rw-r--r--distrho/src/DistrhoUI.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/distrho/src/DistrhoUI.cpp b/distrho/src/DistrhoUI.cpp
index f5ef489d..83d18044 100644
--- a/distrho/src/DistrhoUI.cpp
+++ b/distrho/src/DistrhoUI.cpp
@@ -161,6 +161,10 @@ void UI::uiReshape(uint width, uint height)
glViewport(0, 0, static_cast<GLsizei>(width), static_cast<GLsizei>(height));
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
+#else
+ // unused
+ (void)width;
+ (void)height;
#endif
}