Fix the return type of CreateContext (flutter/engine#19223)

This commit is contained in:
Jason Simmons
2020-06-23 11:53:02 -07:00
committed by GitHub
parent 260b377292
commit c4d549a3e3

View File

@@ -59,7 +59,7 @@ static void LogLastEGLError() {
FML_LOG(ERROR) << "Unknown EGL Error";
}
static EGLResult<EGLSurface> CreateContext(EGLDisplay display,
static EGLResult<EGLContext> CreateContext(EGLDisplay display,
EGLConfig config,
EGLContext share = EGL_NO_CONTEXT) {
EGLint attributes[] = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE};