blob: 9e0b59b0591b6ea4c93c1c0081574d6a8cacce6d [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// 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>
namespace gl {
namespace init {
bool InitializeStaticANGLEEGL() {
#pragma push_macro("eglGetProcAddress")
#undef eglGetProcAddress
SetGLGetProcAddressProc(&eglGetProcAddress);
#pragma pop_macro("eglGetProcAddress")
return true;
}
} // namespace init
} // namespace gl