Skip to content

Commit

Permalink
Use local xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
raub committed Oct 31, 2023
1 parent e6bf6f6 commit 9b7df42
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@ jobs:

- name: Run Unit Tests
if: matrix.os == 'ubuntu-20.04'
uses: coactions/setup-xvfb@v1
with:
run: npm run test-ci
run: xvfb-run --auto-servernum npm run test-ci
2 changes: 1 addition & 1 deletion examples/srgb/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const shader = `
void main() {
vec2 vUv = gl_FragCoord.xy / resolution.xy;
gl_FragColor = texture2D( tex, vUv );
gl_FragColor = texture2D(tex, vUv);
}
`;

Expand Down
2 changes: 1 addition & 1 deletion examples/srgb/simple_texture_processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function createShaderMaterial(
const material = new ShaderMaterial({
uniforms: uniforms,
vertexShader: `
void main() {
void main() {
gl_Position = vec4( position, 1.0 );
}`,
fragmentShader: computeFragmentShader,
Expand Down
2 changes: 1 addition & 1 deletion examples/srgb/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"noFallthroughCasesInSwitch": true,
"allowUnreachableCode": false,
}
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Luis Blanco <[email protected]>",
"name": "3d-core-raub",
"version": "4.1.0",
"version": "4.1.1",
"description": "An extensible Node3D core for desktop applications",
"license": "MIT",
"main": "index.js",
Expand Down Expand Up @@ -45,16 +45,16 @@
},
"dependencies": {
"addon-tools-raub": "^7.4.0",
"image-raub": "^4.2.0",
"glfw-raub": "^5.3.1",
"image-raub": "^4.2.1",
"glfw-raub": "^5.3.2",
"webgl-raub": "^4.1.0"
},
"devDependencies": {
"@types/node": "^20.8.3",
"@types/three": "0.156.0",
"@types/three": "0.158.1",
"eslint-plugin-node": "^11.1.0",
"eslint": "^8.51.0",
"three": "0.157.0",
"three": "0.158.0",
"typescript": "^5.2.2"
}
}

0 comments on commit 9b7df42

Please sign in to comment.