Skip to content

Commit

Permalink
remove unused quad parameter from attemptPassDowngrade (#2718)
Browse files Browse the repository at this point in the history
  • Loading branch information
douira authored Aug 25, 2024
1 parent b94deee commit 06ad694
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private void bufferQuad(MutableQuadViewImpl quad, float[] brightnesses, Material

// attempt render pass downgrade if possible
var pass = material.pass;
var downgradedPass = attemptPassDowngrade(quad, atlasSprite, pass);
var downgradedPass = attemptPassDowngrade(atlasSprite, pass);
if (downgradedPass != null) {
pass = downgradedPass;
}
Expand Down Expand Up @@ -228,7 +228,7 @@ private boolean validateQuadUVs(TextureAtlasSprite atlasSprite) {
return true;
}

private TerrainRenderPass attemptPassDowngrade(MutableQuadViewImpl quad, TextureAtlasSprite sprite, TerrainRenderPass pass) {
private TerrainRenderPass attemptPassDowngrade(TextureAtlasSprite sprite, TerrainRenderPass pass) {
boolean attemptDowngrade = true;
boolean hasNonOpaqueVertex = false;

Expand Down

0 comments on commit 06ad694

Please sign in to comment.