diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-11-13 12:56:34 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-11-13 14:04:12 +0200 |
commit | 73da7f6eb78aa704b80a272d7eeb9c3f0aa9982b (patch) | |
tree | 2da06c1d782a6968d6fcbf3daf65679305dcd1c1 | |
parent | c9bdd33a113b4236c60b61abaec4e5e8a8b89028 (diff) |
Rename redundant wording EGL.eglErrorCode to just EGL.errorCode.
-rw-r--r-- | src/library_egl.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library_egl.js b/src/library_egl.js index cc702fec..95abe821 100644 --- a/src/library_egl.js +++ b/src/library_egl.js @@ -9,12 +9,12 @@ var LibraryEGL = { $EGL: { // This variable tracks the success status of the most recently invoked EGL function call. - eglErrorCode: 0x3000 /* EGL_SUCCESS */, + errorCode: 0x3000 /* EGL_SUCCESS */, stringCache: {}, setErrorCode: function(code) { - EGL.eglErrorCode = code; + EGL.errorCode = code; }, chooseConfig: function(display, attribList, config, config_size, numConfigs) { @@ -407,7 +407,7 @@ var LibraryEGL = { // EGLAPI EGLint EGLAPIENTRY eglGetError(void); eglGetError: function() { - return EGL.eglErrorCode; + return EGL.errorCode; }, // EGLAPI const char * EGLAPIENTRY eglQueryString(EGLDisplay dpy, EGLint name); |