mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-12-22 05:19:48 +01:00
egl: log error in eglCreatePlatformWindowSurface
This commit is contained in:
parent
641563e5a9
commit
81ca6f068b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue