Blender Git Loki

Git Commits -> Revision 8d4460b

Revision 8d4460b by Sergey Sharybin (master)
November 18, 2019, 08:28 (GMT)
GHOST: Only spam about X11 errors when using --debug-ghost

This commit adds a new command line argument --debug-ghost and
makes it so X11 errors happening during context initialization
are only printed when this new flag is sued.

There is no need to flood users with errors when their GPU is
not supporting latest OpenGL version. Or, at a very minimum,
the error must be more meaning full.

Differential Revision: https://developer.blender.org/D6057

Commit Details:

Full Hash: 8d4460b6c4b4406a3dc873b820dbe94d74437a46
Parent Commit: dc8be23
Lines Changed: +75, -2

9 Modified Paths:

/intern/ghost/GHOST_C-api.h (+5, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+14, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+7, -0) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+12, -1) (Diff)
/intern/ghost/intern/GHOST_System.h (+16, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+10, -0) (Diff)
/source/blender/blenkernel/BKE_global.h (+4, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+1, -0) (Diff)
/source/creator/creator_args.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021