aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gerhardy <martin.gerhardy@gmail.com>2013-05-07 06:50:49 +0200
committerMartin Gerhardy <martin.gerhardy@gmail.com>2013-05-07 06:50:49 +0200
commit5123418c4a37b67309e4be386ee12ccd5ea36c8c (patch)
tree53e099febf2c47f9a30101a348d54587996a6d69
parent8485632cff9d1b1ffd18315aed5690e995f1ec59 (diff)
* SDL_GL_ExtensionSupported: fixed integer value
* added myself to the AUTHORS file
-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) {},