Cleanup: avoid uninitialized members in GHOST classes
This commit is contained in:
parent
87c61f2354
commit
9810942adf
|
@ -202,6 +202,7 @@ GHOST_ContextEGL::GHOST_ContextEGL(const GHOST_System *const system,
|
|||
m_context(EGL_NO_CONTEXT),
|
||||
m_surface(EGL_NO_SURFACE),
|
||||
m_display(EGL_NO_DISPLAY),
|
||||
m_config(EGL_NO_CONFIG_KHR),
|
||||
m_swap_interval(1),
|
||||
m_sharedContext(
|
||||
choose_api(api, s_gl_sharedContext, s_gles_sharedContext, s_vg_sharedContext)),
|
||||
|
|
|
@ -32,6 +32,7 @@ GHOST_System::GHOST_System()
|
|||
#ifdef WITH_INPUT_NDOF
|
||||
m_ndofManager(nullptr),
|
||||
#endif
|
||||
m_preFullScreenSetting{0},
|
||||
m_multitouchGestures(true),
|
||||
m_tabletAPI(GHOST_kTabletAutomatic),
|
||||
m_is_debug_enabled(false)
|
||||
|
|
Loading…
Reference in New Issue