Skip to content

Commit 1cf24c5

Browse files
update emscripten get_proc_address (#18180)
1 parent 79dbd3f commit 1cf24c5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gfx/drivers_context/emscriptenwebgl_ctx.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,11 @@ static uint32_t gfx_ctx_emscripten_webgl_get_flags(void *data)
210210

211211
static void gfx_ctx_emscripten_webgl_set_flags(void *data, uint32_t flags) { }
212212

213+
void *emscripten_GetProcAddress(const char *);
214+
213215
static gfx_ctx_proc_t gfx_ctx_emscripten_webgl_get_proc_address(const char *symbol)
214216
{
215-
return emscripten_webgl_get_proc_address(symbol);
217+
return emscripten_GetProcAddress(symbol);
216218
}
217219

218220
const gfx_ctx_driver_t gfx_ctx_emscripten_webgl = {

0 commit comments

Comments
 (0)