Skip to content

Commit

Permalink
Lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer committed Jan 10, 2022
1 parent c2b4f48 commit fd0c04f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions modules/core/src/passes/layers-pass.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,14 @@ export default class LayersPass extends Pass {
/* eslint-disable max-depth, max-statements */
_drawLayersInViewport(
gl,
{layers, moduleParameters, pass, target, viewport, view},
{layers, moduleParameters: globalModuleParameters, pass, target, viewport, view},
drawLayerParams
) {
const glViewport = getGLViewport(gl, {moduleParameters, target, viewport});
const glViewport = getGLViewport(gl, {
moduleParameters: globalModuleParameters,
target,
viewport
});

if (view && view.props.clear) {
const clearOpts = view.props.clear === true ? {color: true, depth: true} : view.props.clear;
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/utils/positions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function parsePosition(value) {
relative
};
}
// fallthrough
// fallthrough

default:
// eslint-disable-line
Expand Down

0 comments on commit fd0c04f

Please sign in to comment.