eglGetDisplay alway return NULL

eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
if ( NULL == eglDisplay )
MessageBox(hWnd, L"Can’t GetDisplay!", L"Error", 0);

the window is create succeed, why eglGetDisplay alway return NULL?

Some information on which implementation you are using would be helpful.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.