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>2015-10-06 16:27:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-06 16:36:39 +0300
commit84713629877d84d8c973d55e7e7cb0eca0f2ba49 (patch)
treedb12b860677dd59f3e3ffddb71c670de7aeb36d3 /source/blender/gpu/intern/gpu_init_exit.c
parent867c49b962fed324b41492e4cbaf586b5020e2dd (diff)
WM: Fix crash when a new window can't be created
Report an error instead of crashing if a new window can't be created (typically caused by bad drivers).
Diffstat (limited to 'source/blender/gpu/intern/gpu_init_exit.c')
-rw-r--r--source/blender/gpu/intern/gpu_init_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_init_exit.c b/source/blender/gpu/intern/gpu_init_exit.c
index 3a8a6fca23b..da4dd65d2e1 100644
--- a/source/blender/gpu/intern/gpu_init_exit.c
+++ b/source/blender/gpu/intern/gpu_init_exit.c
@@ -49,7 +49,7 @@ static bool initialized = false;
void GPU_init(void)
{
- /* can't avoid calling this multiple times, see wm_window_add_ghostwindow */
+ /* can't avoid calling this multiple times, see wm_window_ghostwindow_add */
if (initialized)
return;