summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglglobals.c
diff options
context:
space:
mode:
authorKyle Brenneman <[email protected]>2016-09-12 16:15:10 -0400
committerAdam Jackson <[email protected]>2016-09-14 11:45:58 -0400
commit7206b3a5565c0835589f85388ae9c121dfd5b5a5 (patch)
treecc784c3efe12613fa49d4581bb88e8d47b628c10 /src/egl/main/eglglobals.c
parent1d535c1e83ae45b67a141420298c5d08082e0ed8 (diff)
egl: Add storage for EGL_KHR_debug's state to EGL objects
Reviewed-by: Adam Jackson <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/main/eglglobals.c')
-rw-r--r--src/egl/main/eglglobals.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c
index 04bb5ba9d92..dca5c21f0dc 100644
--- a/src/egl/main/eglglobals.c
+++ b/src/egl/main/eglglobals.c
@@ -56,7 +56,10 @@ struct _egl_global _eglGlobal =
" EGL_EXT_platform_wayland"
" EGL_EXT_platform_x11"
" EGL_KHR_client_get_all_proc_addresses"
- " EGL_MESA_platform_gbm"
+ " EGL_MESA_platform_gbm",
+
+ NULL, /* debugCallback */
+ _EGL_DEBUG_BIT_CRITICAL | _EGL_DEBUG_BIT_ERROR, /* debugTypesEnabled */
};