blob: 5ede331531bc0d9b582fcfc8195562499c93f8e6 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gl/init/gl_initializer.h"
#include <EGL/egl.h>
extern "C" {
// The ANGLE internal eglGetProcAddress
EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY
EGL_GetProcAddress(const char* procname);
}
namespace gl {
namespace init {
bool InitializeStaticANGLEEGL() {
SetGLGetProcAddressProc(&EGL_GetProcAddress);
return true;
}
} // namespace init
} // namespace gl