Skip to content

Commit

Permalink
Add sharedContext argument to glfwCreateWindow (#82)
Browse files Browse the repository at this point in the history
* [wip] adding support for shared context while creating glfwWindows

* modify example to trigger glfw Assertion

* reworked examples to support two windows

* Call glBindTexture on every render

* change name of argument from sharedWindow to sharedContext

* added some comments

* use esy 0.4.9 in travis
  • Loading branch information
lpalmes authored and bryphe committed Jan 22, 2019
1 parent fb5e870 commit 000c393
Show file tree
Hide file tree
Showing 61 changed files with 3,796 additions and 283 deletions.
42 changes: 21 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ language: node_js

matrix:
include:
- os: linux
sudo: required
dist: trusty
node_js: 8
addons:
apt:
packages:
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libegl1-mesa-dev
- mesa-utils
- mesa-utils-extra
- os: osx
- os: linux
sudo: required
dist: trusty
node_js: 8
addons:
apt:
packages:
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libegl1-mesa-dev
- mesa-utils
- mesa-utils-extra
- os: osx

node_js: 8
node_js: 8
install:
- travis_retry npm install -g [email protected]
- travis_wait esy install
- travis_retry npm install -g [email protected]
- travis_wait esy install
script:
- travis_wait 40 esy build
- esy b ./travis-test.sh
- travis_wait 40 esy build
- esy b ./travis-test.sh
cache:
timeout: 360
directories:
- "$HOME/.esy"
- "$HOME/.esy"
3 changes: 3 additions & 0 deletions esy.lock/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# Set eol to LF so files aren't converted to CRLF-eol on Windows.
* text eol=lf
3 changes: 3 additions & 0 deletions esy.lock/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# Reset any possible .gitignore, we want all esy.lock to be un-ignored.
!*
Loading

0 comments on commit 000c393

Please sign in to comment.