<div dir="ltr"><div>Hi, I'm new to dri-devel and sorry if this question doesn't fit here.<br>In my code, the case 1 of getting eglDisplay using EGL_DEFAULT_DISPLAY failed, but, the case 2 succeeded.</div><div><br></div><div>// Case 1</div><div>egl_.display = eglGetDisplay (EGL_DEFAULT_DISPLAY);<br><br></div><div>// Case 2</div><div>struct gbm_device * gbm_device_;<br>gbm_device_ = gbm_create_device (drm _-> GetFD ());<br>egl_.display = eglGetDisplay ((EGLNativeDisplayType) gbm_device_);<br></div><div><br></div><div>I don't know if EGL_DEFAULT_DISPLAY is missing or it's a problem with my machine.<br>The output of lspci is :<br></div><div><br></div><div>VGA compatible controller: Intel Corporation Device 5906 (rev 02)<br></div><div><br></div><div>Thank you for any comments or links to related documents.</div></div>