Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export WebGLRenderingContext, WebGLTexture from node-index.js and #263

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kartikdutt18
Copy link

@kartikdutt18 kartikdutt18 commented Jul 20, 2023

Hi all,

  1. It adds Export WebGLRenderingContext, WebGLTexture.
  2. Updated dll since angle will have the flag FORCE_ENABLE_WARP that can be set to true in env.
  3. dll from : https://github.com/stackgl/angle/pull/2/files

@@ -127,3 +127,6 @@ function createContext (width, height, options) {
}

module.exports = createContext
const { WebGLTexture } = require("./webgl-texture")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const { WebGLTexture } = require("./webgl-texture")
const { WebGLTexture } = require('./webgl-texture')

and add one and only one blank line to the end of the file to placate standard running on AppVeyor.

standard | snazzy && tape test/*.js | faucet
standard: Use JavaScript Standard Style (https://standardjs.com)
standard: Run standard --fix to automatically fix some problems.
C:\projects\headless-gl\src\javascript\node-index.js
130:34 error Strings must use singlequote quotes
132:43 error Newline required at end of file but not found eol-last
✖ 2 problems
Command exited with code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants