summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface/EGL.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2016-11-02 12:20:46 +0100
committerGitHub <noreply@github.com>2016-11-02 12:20:46 +0100
commit9ce1cdde98bb9c569fe27d952240f69bcdc14720 (patch)
treeb6e9aed9e22565b68c82fd8bd11ff915eb5ad980 /Source/Core/Common/GL/GLInterface/EGL.cpp
parent24fa4c9e57911b7dc17d1935b3de9da3e8774f14 (diff)
parentc9e6b05ce90714d4be1093d4d3d3ed33013d5b06 (diff)
Merge pull request #4414 from linkmauve/single-newline
Remove double newlines at the end of *_LOG messages
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/EGL.cpp')
-rw-r--r--Source/Core/Common/GL/GLInterface/EGL.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/Core/Common/GL/GLInterface/EGL.cpp b/Source/Core/Common/GL/GLInterface/EGL.cpp
index df5ed4d8fd..02b1576557 100644
--- a/Source/Core/Common/GL/GLInterface/EGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/EGL.cpp
@@ -66,7 +66,7 @@ void cInterfaceEGL::DetectMode()
// Get how many configs there are
if (!eglChooseConfig(egl_dpy, attribs, nullptr, 0, &num_configs))
{
- INFO_LOG(VIDEO, "Error: couldn't get an EGL visual config\n");
+ INFO_LOG(VIDEO, "Error: couldn't get an EGL visual config");
continue;
}
@@ -75,7 +75,7 @@ void cInterfaceEGL::DetectMode()
// Get all the configurations
if (!eglChooseConfig(egl_dpy, attribs, config, num_configs, &num_configs))
{
- INFO_LOG(VIDEO, "Error: couldn't get an EGL visual config\n");
+ INFO_LOG(VIDEO, "Error: couldn't get an EGL visual config");
delete[] config;
continue;
}
@@ -123,13 +123,13 @@ bool cInterfaceEGL::Create(void* window_handle, bool core)
if (!egl_dpy)
{
- INFO_LOG(VIDEO, "Error: eglGetDisplay() failed\n");
+ INFO_LOG(VIDEO, "Error: eglGetDisplay() failed");
return false;
}
if (!eglInitialize(egl_dpy, &egl_major, &egl_minor))
{
- INFO_LOG(VIDEO, "Error: eglInitialize() failed\n");
+ INFO_LOG(VIDEO, "Error: eglInitialize() failed");
return false;
}
@@ -166,14 +166,14 @@ bool cInterfaceEGL::Create(void* window_handle, bool core)
ctx_attribs = {EGL_CONTEXT_CLIENT_VERSION, 3, EGL_NONE};
break;
default:
- ERROR_LOG(VIDEO, "Unknown opengl mode set\n");
+ ERROR_LOG(VIDEO, "Unknown opengl mode set");
return false;
break;
}
if (!eglChooseConfig(egl_dpy, attribs, &m_config, 1, &num_configs))
{
- INFO_LOG(VIDEO, "Error: couldn't get an EGL visual config\n");
+ INFO_LOG(VIDEO, "Error: couldn't get an EGL visual config");
return false;
}
@@ -224,13 +224,13 @@ bool cInterfaceEGL::Create(void* window_handle, bool core)
if (!egl_ctx)
{
- INFO_LOG(VIDEO, "Error: eglCreateContext failed\n");
+ INFO_LOG(VIDEO, "Error: eglCreateContext failed");
return false;
}
if (!CreateWindowSurface())
{
- ERROR_LOG(VIDEO, "Error: CreateWindowSurface failed 0x%04x\n", eglGetError());
+ ERROR_LOG(VIDEO, "Error: CreateWindowSurface failed 0x%04x", eglGetError());
return false;
}
return true;
@@ -269,7 +269,7 @@ bool cInterfaceEGL::Create(cInterfaceBase* main_context)
ctx_attribs[1] = 3;
break;
default:
- INFO_LOG(VIDEO, "Unknown opengl mode set\n");
+ INFO_LOG(VIDEO, "Unknown opengl mode set");
return false;
break;
}
@@ -282,13 +282,13 @@ bool cInterfaceEGL::Create(cInterfaceBase* main_context)
egl_ctx = eglCreateContext(egl_dpy, m_config, egl_context->egl_ctx, ctx_attribs);
if (!egl_ctx)
{
- INFO_LOG(VIDEO, "Error: eglCreateContext failed 0x%04x\n", eglGetError());
+ INFO_LOG(VIDEO, "Error: eglCreateContext failed 0x%04x", eglGetError());
return false;
}
if (!CreateWindowSurface())
{
- ERROR_LOG(VIDEO, "Error: CreateWindowSurface failed 0x%04x\n", eglGetError());
+ ERROR_LOG(VIDEO, "Error: CreateWindowSurface failed 0x%04x", eglGetError());
return false;
}
return true;
@@ -302,7 +302,7 @@ bool cInterfaceEGL::CreateWindowSurface()
egl_surf = eglCreateWindowSurface(egl_dpy, m_config, native_window, nullptr);
if (!egl_surf)
{
- INFO_LOG(VIDEO, "Error: eglCreateWindowSurface failed\n");
+ INFO_LOG(VIDEO, "Error: eglCreateWindowSurface failed");
return false;
}
}