aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--src/library_sdl.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index eae3d6e6..9feaa8f7 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -72,5 +72,6 @@ a license to everyone to use it as detailed in LICENSE.)
* Robert Bragg <robert.bragg@intel.com> (copyright owned by Intel Corporation)
* Sylvestre Ledru <sylvestre@debian.org>
* Tom Fairfield <fairfield@cs.xu.edu>
+* Martin Gerhardy <martin.gerhardy@gmail.com>
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) {},