Skip to content

Commit

Permalink
Fix test surface
Browse files Browse the repository at this point in the history
  • Loading branch information
Adlai-Holler committed Jul 23, 2020
1 parent 45dbbbf commit 7443b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/test_gl_surface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void* TestGLSurface::GetProcAddress(const char* name) const {
return reinterpret_cast<void*>(symbol);
}

sk_sp<GrContext> TestGLSurface::GetGrContext() {
sk_sp<GrDirectContext> TestGLSurface::GetGrContext() {
if (context_) {
return context_;
}
Expand All @@ -258,7 +258,7 @@ sk_sp<GrContext> TestGLSurface::GetGrContext() {
return context_;
}

sk_sp<GrContext> TestGLSurface::CreateGrContext() {
sk_sp<GrDirectContext> TestGLSurface::CreateGrContext() {
if (!MakeCurrent()) {
return nullptr;
}
Expand Down

0 comments on commit 7443b60

Please sign in to comment.