Update rcore_drm.c

This commit is contained in:
Ray 2026-07-07 12:17:23 +02:00
commit 3e9fb4757f

View file

@ -1445,7 +1445,8 @@ int InitPlatform(void)
return -1; return -1;
} }
// Providing `framebufferAttribs` is not logically necessary, but it may prevent segfaults on some nvidia drivers // WARNING: Providing framebufferAttribs is not logically necessary,
// but it may prevent segfaults on some nvidia drivers
if (!eglChooseConfig(platform.device, framebufferAttribs, NULL, 0, &numConfigs)) if (!eglChooseConfig(platform.device, framebufferAttribs, NULL, 0, &numConfigs))
{ {
TRACELOG(LOG_WARNING, "DISPLAY: Failed to get EGL config count: 0x%x", eglGetError()); TRACELOG(LOG_WARNING, "DISPLAY: Failed to get EGL config count: 0x%x", eglGetError());