/*1* Copyright 2021 The Emscripten Authors. All rights reserved.2* Emscripten is available under two separate licenses, the MIT license and the3* University of Illinois/NCSA Open Source License. Both these licenses can be4* found in the LICENSE file.5*/67// GL proc address library integration89#if GL_ENABLE_GET_PROC_ADDRESS1011extern void* emscripten_GetProcAddress(const char *name);1213__attribute__((weak)) // SDL2 will link in its own version of this14void* SDL_GL_GetProcAddress(const char* name) {15return emscripten_GetProcAddress(name);16}1718void* eglGetProcAddress(const char* name) {19return emscripten_GetProcAddress(name);20}2122void* glfwGetProcAddress(const char* name) {23return emscripten_GetProcAddress(name);24}2526#endif272829