drm_hwcomposer: fix misc style issues in gl_compositor.cpp
Change-Id: I9b3adf7979ff86eb1b89de03f3d8fe8bd1e35dc4
diff --git a/gl_compositor.cpp b/gl_compositor.cpp
index c7aeff4..eb255e6 100644
--- a/gl_compositor.cpp
+++ b/gl_compositor.cpp
@@ -343,9 +343,15 @@
};
// clang-format on
- const EGLint config_attribs[] = {EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
- EGL_RED_SIZE, 8, EGL_GREEN_SIZE, 8,
- EGL_BLUE_SIZE, 8, EGL_NONE};
+ const EGLint config_attribs[] = {EGL_RENDERABLE_TYPE,
+ EGL_OPENGL_ES2_BIT,
+ EGL_RED_SIZE,
+ 8,
+ EGL_GREEN_SIZE,
+ 8,
+ EGL_BLUE_SIZE,
+ 8,
+ EGL_NONE};
const EGLint context_attribs[] = {EGL_CONTEXT_CLIENT_VERSION, 3, EGL_NONE};
@@ -586,7 +592,7 @@
priv_->saved_egl_ctx != eglGetCurrentContext()) {
if (!eglMakeCurrent(priv_->saved_egl_display, priv_->saved_egl_read,
priv_->saved_egl_draw, priv_->saved_egl_ctx)) {
- ALOGE("Failed to make the OpenGL ES Context current: %s",
+ ALOGE("Failed to make the old OpenGL ES Context current: %s",
get_egl_error());
return 1;
}