aboutsummaryrefslogtreecommitdiff
path: root/src/library_sdl.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library_sdl.js')
-rw-r--r--src/library_sdl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js
index 672619ad..24b90dce 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -977,8 +977,9 @@ mergeInto(LibraryManager.library, {
console.log('TODO: SDL_GL_SetAttribute');
},
+ SDL_GL_GetProcAddress__deps: ['$GLEmulation'],
SDL_GL_GetProcAddress: function(name_) {
- return GL.getProcAddress(Pointer_stringify(name_));
+ return GLEmulation.getProcAddress(Pointer_stringify(name_));
},
SDL_GL_SwapBuffers: function() {},