From 81ca6f068bc761c3525057df3150839cf8b69352 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 19 Feb 2024 20:45:04 +0000 Subject: [PATCH] egl: log error in eglCreatePlatformWindowSurface --- src/core/LockSurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/LockSurface.cpp b/src/core/LockSurface.cpp index b1a5e5c..af2563c 100644 --- a/src/core/LockSurface.cpp +++ b/src/core/LockSurface.cpp @@ -94,7 +94,7 @@ void CSessionLockSurface::configure(const Vector2D& size_, uint32_t serial_) { eglSurface = g_pEGL->eglCreatePlatformWindowSurfaceEXT(g_pEGL->eglDisplay, g_pEGL->eglConfig, eglWindow, nullptr); if (!eglSurface) { - Debug::log(CRIT, "Couldn't create eglSurface"); + Debug::log(CRIT, "Couldn't create eglSurface: {}", (int)glGetError()); exit(1); }