aboutsummaryrefslogtreecommitdiff
path: root/src/library_egl.js
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2012-06-04 23:57:43 +0300
committerJukka Jylänki <jujjyl@gmail.com>2012-06-04 23:57:43 +0300
commit6619a867c06b6e740bc9eaa37479aa10e492266c (patch)
treeba43e2b16ade72f1be7bacecbd63ae842291c24e /src/library_egl.js
parent5fc25b1956b1b01447b900b3c156904f60d59430 (diff)
Added stubs for eglQuerySurface and eglGetError implementations.
Diffstat (limited to 'src/library_egl.js')
-rw-r--r--src/library_egl.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/library_egl.js b/src/library_egl.js
index f1558f80..635e00a7 100644
--- a/src/library_egl.js
+++ b/src/library_egl.js
@@ -12,6 +12,12 @@ var LibraryEGL = {
return 1;
},
+ // EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
+ eglQuerySurface: function(display, surface, attribute, value) { return 0 },
+
+ // EGLAPI EGLint EGLAPIENTRY eglGetError(void);
+ eglGetError: function() { return 0x3000 /* EGL_SUCCESS */ },
+
eglMakeCurrent: function(display, surface, surface_, context) { return 1 },
eglSwapBuffers: function() {},
};