From c4d549a3e370071f2117fd7a85a0ab6bbc6afd70 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 23 Jun 2020 11:53:02 -0700 Subject: [PATCH] Fix the return type of CreateContext (flutter/engine#19223) --- engine/src/flutter/shell/platform/android/android_context_gl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/android/android_context_gl.cc b/engine/src/flutter/shell/platform/android/android_context_gl.cc index e72b5be5e7..91e2628e1f 100644 --- a/engine/src/flutter/shell/platform/android/android_context_gl.cc +++ b/engine/src/flutter/shell/platform/android/android_context_gl.cc @@ -59,7 +59,7 @@ static void LogLastEGLError() { FML_LOG(ERROR) << "Unknown EGL Error"; } -static EGLResult CreateContext(EGLDisplay display, +static EGLResult CreateContext(EGLDisplay display, EGLConfig config, EGLContext share = EGL_NO_CONTEXT) { EGLint attributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE};