diff options
| author | 2017-04-04 05:57:05 +0000 | |
|---|---|---|
| committer | 2017-04-04 05:57:06 +0000 | |
| commit | 8348f6d6d03bfb99f1fe8566e0bf5c3dee79f6c1 (patch) | |
| tree | 04af4694163973ce167fe0c293737ec21e5f71dc | |
| parent | 2d3349c9aae4843d4eaabc9a6bf2dd179697488f (diff) | |
| parent | f15219b280fa385b754ae1478b84a939eae92c64 (diff) | |
Merge "Fix typo causing GL_EXT_debug_marker to disappear" into oc-dev
| -rw-r--r-- | opengl/libs/EGL/egl_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl_object.cpp b/opengl/libs/EGL/egl_object.cpp index 7ed34be89a..623878062b 100644 --- a/opengl/libs/EGL/egl_object.cpp +++ b/opengl/libs/EGL/egl_object.cpp @@ -114,7 +114,7 @@ void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { // call the implementation's glGetString(GL_EXTENSIONS) const char* exts = (const char *)gEGLImpl.hooks[version]->gl.glGetString(GL_EXTENSIONS); gl_extensions = exts; - if (gl_extensions.find("GL_EXT_debug_marker") != std::string::npos) { + if (gl_extensions.find("GL_EXT_debug_marker") == std::string::npos) { gl_extensions.insert(0, "GL_EXT_debug_marker "); } |