Update rcore_drm.c
This commit is contained in:
parent
d159739a8b
commit
3e9fb4757f
1 changed files with 2 additions and 1 deletions
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue