commit | 57f5d9854bfc78c347cb587e044fb3950f9ad298 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 24 21:17:53 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 24 21:17:53 2011 +0000 |
tree | 91c75b0a9a4555e29ea40dc057948c5520eeabaa | |
parent | 820e80ad6390e120d4991a5280d0452ec87beaeb [diff] [blame] |
Recommit r2510 now that mac build bot issue has been fixed. git-svn-id: http://skia.googlecode.com/svn/trunk@2521 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/Test.cpp b/tests/Test.cpp index d91eeed..1c3b691 100644 --- a/tests/Test.cpp +++ b/tests/Test.cpp
@@ -89,6 +89,9 @@ gGrContext.reset(GrContext::Create(kOpenGL_Shaders_GrEngine, ctx)); } } + if (gGLContext.get()) { + gGLContext.get()->makeCurrent(); + } return gGrContext.get(); }