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

breaks gl package. #18

Open
bryanlarsen opened this issue Jul 25, 2017 · 3 comments
Open

breaks gl package. #18

bryanlarsen opened this issue Jul 25, 2017 · 3 comments

Comments

@bryanlarsen
Copy link

Works:

require('gl');
require('canvas-prebuilt');
require('gl')(800, 600, { preserveDrawingBuffer: true })

Doesn't work:

require('canvas-prebuilt');
require('gl')(800, 600, { preserveDrawingBuffer: true })

canvas-prebuilt: 1.6.0
gl: 4.0.04
Ubuntu 16.04
X.Org 1.16.4 using the dummy driver

@bryanlarsen
Copy link
Author

Also works:

require('canvas')
require('gl')(800, 600, { preserveDrawingBuffer: true })

canvas 1.6.5

@chearon
Copy link
Member

chearon commented Jul 25, 2017

Looks very similar to Automattic/node-canvas#930 although it seems like you stumbled on something that makes it specific to node-canvas-prebuilt.

@chearon
Copy link
Member

chearon commented Aug 19, 2017

@bryanlarsen I didn't see any errors running those commands with 1.6.5 or 1.6.0, what exactly "didn't work"? It might help that I've just updated the binaries for the 2.x Linux builds, if you want to try that.

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

No branches or pull requests

2 participants