WM: Fix crash when a new window can't be created
authorCampbell Barton <ideasman42@gmail.com>
Tue, 6 Oct 2015 13:27:27 +0000 (00:27 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 6 Oct 2015 13:36:39 +0000 (00:36 +1100)
commit84713629877d84d8c973d55e7e7cb0eca0f2ba49
treedb12b860677dd59f3e3ffddb71c670de7aeb36d3
parent867c49b962fed324b41492e4cbaf586b5020e2dd
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).
source/blender/editors/render/render_intern.h
source/blender/editors/render/render_internal.c
source/blender/editors/render/render_opengl.c
source/blender/editors/render/render_view.c
source/blender/editors/screen/screen_ops.c
source/blender/gpu/intern/gpu_init_exit.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm.c
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_window.c
source/blender/windowmanager/wm_window.h