Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-26 06:02:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-26 06:02:44 +0300
commite10884323e3112649d31e54f93c98582cb8cff03 (patch)
tree754fd6e277f757b849eb23fc97a6bc9695b26cb2
parent16639c6f1a31da50715c720d6080b96330da1f89 (diff)
Cleanup: unused variable warning
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.cpp3
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 &&