am fe3de568: Merge "System egl: fix eglInitialize"
* commit 'fe3de568e66af44e2e9ad6476175a2760ca6fc24': System egl: fix eglInitialize
This commit is contained in:
@@ -547,9 +547,10 @@ EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
|
|||||||
if (!s_display.initialize(&s_eglIface)) {
|
if (!s_display.initialize(&s_eglIface)) {
|
||||||
return EGL_FALSE;
|
return EGL_FALSE;
|
||||||
}
|
}
|
||||||
|
if (major!=NULL)
|
||||||
*major = s_display.getVersionMajor();
|
*major = s_display.getVersionMajor();
|
||||||
*minor = s_display.getVersionMinor();
|
if (minor!=NULL)
|
||||||
|
*minor = s_display.getVersionMinor();
|
||||||
return EGL_TRUE;
|
return EGL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user