update retro host to pass it's own dlsym-esque function to glad

This commit is contained in:
Anthony Pesch 2017-07-05 00:14:51 -04:00
parent 2eeccfe459
commit ca02533471
1 changed files with 1 additions and 1 deletions

View File

@ -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) {