Fix negative eglGetCurrentSurface tests.
authorMika Isojärvi <misojarvi@google.com>
Thu, 19 Mar 2015 00:21:10 +0000 (17:21 -0700)
committerMika Isojärvi <misojarvi@google.com>
Thu, 19 Mar 2015 21:45:21 +0000 (14:45 -0700)
commitcd521810662827147fc3a4c24fa22ac7aadec5b8
treee91f3226470695d87c6762c29559a7a68ca17500
parent0718a362c4bac04a3b9bf9e8b19db4c311296293
Fix negative eglGetCurrentSurface tests.

Set current context and current surface before calling
eglGetCurrentSurface. eglGetCurrentSurface doesn't report any errors
unless there is current context.

Bug: 19821499
Change-Id: I197d245f062fd3dcfe2a30263638d6f5438c5ca2
modules/egl/teglNegativeApiTests.cpp