Fix broken print in egl tests.
authorJarkko Pöyry <jpoyry@google.com>
Sat, 7 Mar 2015 02:15:01 +0000 (18:15 -0800)
committerJarkko Pöyry <jpoyry@google.com>
Tue, 10 Mar 2015 20:31:21 +0000 (13:31 -0700)
Change-Id: I87ac4f652d7536d2da8bd87e05d2073b8139a516

modules/egl/teglCreateContextExtTests.cpp

index b7822d0..fdd6f09 100644 (file)
@@ -349,7 +349,7 @@ void CreateContextExtCase::logAttribList (void)
                                iter++;
                                attribListString << "EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT, ";
 
-                               if (*iter == EGL_FALSE && *iter == EGL_TRUE)
+                               if (*iter == EGL_FALSE || *iter == EGL_TRUE)
                                        attribListString << (*iter ? "EGL_TRUE" : "EGL_FALSE");
                                else
                                        attribListString << (*iter);