From ca02533471582c77e9f3ce4d8a028b058b583a04 Mon Sep 17 00:00:00 2001 From: Anthony Pesch Date: Wed, 5 Jul 2017 00:14:51 -0400 Subject: [PATCH] update retro host to pass it's own dlsym-esque function to glad --- src/host/retro_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/retro_host.c b/src/host/retro_host.c index fe8629c7..1c5ade4d 100644 --- a/src/host/retro_host.c +++ b/src/host/retro_host.c @@ -167,7 +167,7 @@ static void video_context_destroyed() { static void video_context_reset() { /* link in gl functions at runtime */ - res = gladLoadGL(); + int res = gladLoadGLLoader((GLADloadproc)hw_render.get_proc_address); CHECK_EQ(res, 1, "GL initialization failed"); if (!g_host->video_context_reset) {