egl: Remove duplicated logging of EGL version
The line below already prints it. Signed-off-by: Robert Mader <robert.mader@collabora.com> Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: Hans de Goede <johannes.goede@oss.qualcomm.com> # Thinkpad X1 Carbon G13 IPU7 ov08x40 Tested-by: Milan Zamazal <mzamazal@redhat.com> # TI AM69 Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
22b15ff683
commit
07335cbeb1
@@ -285,8 +285,6 @@ int eGL::initEGLContext(GBM *gbmContext)
|
||||
|
||||
EGLint numConfigs;
|
||||
EGLConfig config;
|
||||
EGLint major;
|
||||
EGLint minor;
|
||||
|
||||
if (!eglBindAPI(EGL_OPENGL_ES_API)) {
|
||||
LOG(eGL, Error) << "API bind fail";
|
||||
@@ -299,12 +297,11 @@ int eGL::initEGLContext(GBM *gbmContext)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (eglInitialize(display_, &major, &minor) != EGL_TRUE) {
|
||||
if (eglInitialize(display_, nullptr, nullptr) != EGL_TRUE) {
|
||||
LOG(eGL, Error) << "eglInitialize fail";
|
||||
goto fail;
|
||||
}
|
||||
|
||||
LOG(eGL, Info) << "EGL: version " << major << "." << minor;
|
||||
LOG(eGL, Info) << "EGL: EGL_VERSION: " << eglQueryString(display_, EGL_VERSION);
|
||||
LOG(eGL, Info) << "EGL: EGL_VENDOR: " << eglQueryString(display_, EGL_VENDOR);
|
||||
LOG(eGL, Info) << "EGL: EGL_CLIENT_APIS: " << eglQueryString(display_, EGL_CLIENT_APIS);
|
||||
|
||||
Reference in New Issue
Block a user