Skip to content

Commit

Permalink
chore: headless-gl
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoiver committed Sep 14, 2023
1 parent 25e7d22 commit 857b052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
node-version: 16
cache: 'pnpm'

run: sudo apt-get install -y build-essential libglew-dev libglu1-mesa-dev libxi-dev pkg-config

- name: Install dependencies
run: pnpm install

Expand Down
2 changes: 0 additions & 2 deletions src/webgl/Device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1389,8 +1389,6 @@ export class Device_GL implements SwapChain, Device {
if (this.currentDepthStencilAttachment) {
if (sampleCount === -1) {
sampleCount = this.currentDepthStencilAttachment.sampleCount;
width = this.currentDepthStencilAttachment.width;
height = this.currentDepthStencilAttachment.height;
} else {
assert(sampleCount === this.currentDepthStencilAttachment.sampleCount);
assert(width === this.currentDepthStencilAttachment.width);
Expand Down

0 comments on commit 857b052

Please sign in to comment.