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:
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.cpp2
-rw-r--r--source/creator/creator.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index 73d61a30977..5a1f3bf1e21 100644
--- a/intern/ghost/intern/GHOST_WindowX11.cpp
+++ b/intern/ghost/intern/GHOST_WindowX11.cpp
@@ -177,6 +177,8 @@ GHOST_WindowX11(
printf("%s:%d: X11 glxChooseVisual() failed for OpenGL, verify working openGL system!\n", __FILE__, __LINE__);
return;
}
+
+ memset(&m_xtablet, 0, sizeof(m_xtablet));
// Create a bunch of attributes needed to create an X window.
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 5a90a1e5b9f..21193eb9683 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -254,6 +254,10 @@ static void print_help(void)
printf (" $IMAGEEDITOR\t\tImage editor executable, launch with the IKey from the file selector.\n");
printf (" $WINEDITOR\t\tText editor executable, launch with the EKey from the file selector.\n");
printf (" $PYTHONHOME\t\tPath to the python directory, eg. /usr/lib/python.\n");
+#ifdef __linux__
+ printf (" $BLENDER_FORCE_SWAPBUFFERS\tFixes menu drawing with some Intel and Radeon cards\n");
+ printf (" \t\tThe value is not used, only that the env var is set (linux specific).\n");
+#endif
printf ("\nNote: Arguments must be separated by white space. eg:\n");
printf (" \"blender -ba test.blend\"\n");
printf (" ...will ignore the 'a'\n");