Remove check that required NULL to be invalid native window.

Remove check from negative EGL API tests that required that native window NULL
should produce EGL_BAD_NATIVE_WINDOW error.

Bug: 20176899
Change-Id: Ibe5d203121f4bb1f0fc6b0516575998aacadd671
diff --git a/modules/egl/teglNegativeApiTests.cpp b/modules/egl/teglNegativeApiTests.cpp
index 3503c86..98e3f94 100644
--- a/modules/egl/teglNegativeApiTests.cpp
+++ b/modules/egl/teglNegativeApiTests.cpp
@@ -681,18 +681,6 @@
 			expectError(EGL_BAD_CONFIG);
 
 			log << TestLog::EndSection;
-
-			log << TestLog::Section("Test3", "EGL_BAD_NATIVE_WINDOW may be generated if native_window is not a valid native window");
-
-			// Any window-capable config.
-			EGLConfig windowConfig;
-			if (getConfig(&windowConfig, FilterList() << surfaceBits<EGL_WINDOW_BIT>))
-			{
-				expectNoSurface(eglCreateWindowSurface(display, windowConfig, DE_NULL, s_emptyAttribList));
-				expectError(EGL_BAD_NATIVE_WINDOW);
-			}
-
-			log << TestLog::EndSection;
 		});
 
 	TEGL_ADD_API_CASE(destroy_context, "eglDestroyContext() negative tests",