diff options
Diffstat (limited to 'tests/Test.cpp')
-rw-r--r-- | tests/Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Test.cpp b/tests/Test.cpp index e8a16f4d50..55d884d255 100644 --- a/tests/Test.cpp +++ b/tests/Test.cpp @@ -8,7 +8,7 @@ #include "Test.h" #include "GrContext.h" -#include "SkEGLContext.h" +#include "SkGLContext.h" #include "SkTLazy.h" using namespace skiatest; @@ -79,12 +79,12 @@ bool Test::run() { GrContext* GpuTest::GetContext() { // preserve this order, we want gGrContext destroyed after gEGLContext - static SkTLazy<SkEGLContext> gEGLContext; + static SkTLazy<SkGLContext> gGLContext; static SkAutoTUnref<GrContext> gGrContext; if (NULL == gGrContext.get()) { - gEGLContext.init(); - if (gEGLContext.get()->init(800, 600)) { + gGLContext.init(); + if (gGLContext.get()->init(800, 600)) { gGrContext.reset(GrContext::Create(kOpenGL_Shaders_GrEngine, NULL)); } } |