Fix negative eglWaitNative tests.
authorMika Isojärvi <misojarvi@google.com>
Thu, 19 Mar 2015 00:36:00 +0000 (17:36 -0700)
committerMika Isojärvi <misojarvi@google.com>
Fri, 20 Mar 2015 19:21:04 +0000 (12:21 -0700)
commit331423195d6d306b6ebc8a67169514f7b01bfc1e
tree767d7b3dd60ff6325a2a0230418f26d269e5ff83
parentd2722f6ec95d6f745a9ee1bfa5f033574b91f235
Fix negative eglWaitNative tests.

Set the current context and the current surface before testing
eglWaitNative. eglWaitNative doesn't report errors unless there is
current context and current surface that is not pbuffer surface.

Bug: 19822402
Change-Id: I4cb4c51f6d0169fbae4e529b83bf9ec859e4f914
modules/egl/teglNegativeApiTests.cpp