~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to src/library_egl.js

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-06-11 15:45:24 UTC
  • mfrom: (1.2.1) (2.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130611154524-rppb3w6tixlegv4n
Tags: 1.4.7~20130611~a1eb425-1
* New snapshot release
* Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
318
318
      // Existing Android implementation seems to do so at least.
319
319
      return 1;
320
320
    case 0x3057: // EGL_WIDTH
321
 
      // TODO
 
321
      {{{ makeSetValue('value', '0', 'Module.canvas.width', 'i32') }}};
322
322
      return 1;
323
323
    case 0x3056: // EGL_HEIGHT
324
 
      // TODO
 
324
      {{{ makeSetValue('value', '0', 'Module.canvas.height', 'i32') }}};
325
325
      return 1;
326
326
    case 0x3090: // EGL_HORIZONTAL_RESOLUTION
327
327
      {{{ makeSetValue('value', '0', '-1' /* EGL_UNKNOWN */, 'i32') }}};