aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library_sdl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js
index f5112abe..8a7519b9 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -1708,7 +1708,7 @@ var LibrarySDL = {
// SDL 2
SDL_GL_ExtensionSupported: function(extension) {
- return Module.ctx.getExtension(extension);
+ return Module.ctx.getExtension(extension) | 0;
},
SDL_DestroyWindow: function(window) {},