Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit cbe6dff

Browse files
authored
fix: was using deprecated method
was using deprecated method GrGLCreateNativeInterface instead of using GrGLMakeNativeInterface
1 parent fd71b32 commit cbe6dff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ISkiaGLWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sk_sp<SkSurface> obtainSkiaSurfaceFromCurrentGLContext(GLWindow *glWindow) {
1414

1515
// Grabs the OpenGL context that is currently set as "current"
1616
// (we set it with `glfwMakeContextCurrent` in `main.cpp`)
17-
auto interface = GrGLCreateNativeInterface();
17+
auto interface = GrGLMakeNativeInterface();
1818

1919
const GrContextOptions &grOptions = GrContextOptions();
2020
auto grContext = GrContext::MakeGL(interface, grOptions);

0 commit comments

Comments
 (0)