未验证 提交 d023b66f 编写于 作者: J Jason Simmons 提交者: GitHub

Fix the return type of CreateContext (#19223)

上级 d369e09f
......@@ -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};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册