aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/GLFWTest/glfw_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/GLFWTest/glfw_main.cpp')
-rw-r--r--experimental/GLFWTest/glfw_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/GLFWTest/glfw_main.cpp b/experimental/GLFWTest/glfw_main.cpp
index 63ea1f1d9f..6b8412ce9b 100644
--- a/experimental/GLFWTest/glfw_main.cpp
+++ b/experimental/GLFWTest/glfw_main.cpp
@@ -31,8 +31,8 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action,
static void init_skia(int w, int h) {
- sContext = GrContext::Create(kOpenGL_GrBackend, 0);
-
+ sContext = GrContext::MakeGL(nullptr).release();
+
GrBackendRenderTargetDesc desc;
desc.fWidth = w;
desc.fHeight = h;