diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-26 06:02:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-26 06:02:44 +0300 |
commit | e10884323e3112649d31e54f93c98582cb8cff03 (patch) | |
tree | 754fd6e277f757b849eb23fc97a6bc9695b26cb2 /intern | |
parent | 16639c6f1a31da50715c720d6080b96330da1f89 (diff) |
Cleanup: unused variable warning
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 5e47a52e7df..5e686e4d355 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -113,6 +113,9 @@ static XVisualInfo *x11_visualinfo_from_glx(Display *display, return NULL; } glx_version = glx_major * 100 + glx_minor; +#ifndef WITH_X11_ALPHA + (void)glx_version; +#endif #ifdef WITH_X11_ALPHA if (needAlpha && glx_version >= 103 && |