mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-04 20:55:58 +01:00
render/egl: Change KHR_debug log to include error code
This commit is contained in:
parent
a14d650864
commit
06644575da
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ static enum wlr_log_importance egl_log_importance_to_wlr(EGLint type) {
|
|||
|
||||
static void egl_log(EGLenum error, const char *command, EGLint msg_type,
|
||||
EGLLabelKHR thread, EGLLabelKHR obj, const char *msg) {
|
||||
_wlr_log(egl_log_importance_to_wlr(msg_type), "[EGL] %s: %s", command, msg);
|
||||
_wlr_log(egl_log_importance_to_wlr(msg_type),
|
||||
"[EGL] command: %s, error: 0x%x, message: \"%s\"",
|
||||
command, error, msg);
|
||||
}
|
||||
|
||||
static bool check_egl_ext(const char *exts, const char *ext) {
|
||||
|
|
Loading…
Reference in a new issue