We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_proc_address
1 parent b2a5e97 commit 1a5eb6eCopy full SHA for 1a5eb6e
1 file changed
gfx/drivers_context/emscriptenwebgl_ctx.c
@@ -239,6 +239,11 @@ static uint32_t gfx_ctx_emscripten_webgl_get_flags(void *data)
239
240
static void gfx_ctx_emscripten_webgl_set_flags(void *data, uint32_t flags) { }
241
242
+static gfx_ctx_proc_t gfx_ctx_emscripten_webgl_get_proc_address(const char *symbol)
243
+{
244
+ return emscripten_webgl_get_proc_address(symbol);
245
+}
246
+
247
const gfx_ctx_driver_t gfx_ctx_emscripten_webgl = {
248
gfx_ctx_emscripten_webgl_init,
249
gfx_ctx_emscripten_webgl_destroy,
@@ -261,7 +266,7 @@ const gfx_ctx_driver_t gfx_ctx_emscripten_webgl = {
261
266
false,
262
267
gfx_ctx_emscripten_webgl_swap_buffers,
263
268
gfx_ctx_emscripten_webgl_input_driver,
264
- NULL,
269
+ gfx_ctx_emscripten_webgl_get_proc_address,
265
270
NULL,
271
272
0 commit comments