Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Oct 1, 2024
1 parent b3e571a commit e2c7e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/particles/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function getHdrFolderName() {
}
if (
simulationParams.toneMappingMode === 'extended' &&
context.getConfiguration().toneMapping.mode !== 'extended'
context.getConfiguration().toneMapping?.mode !== 'extended'
) {
return "HDR settings ⚠️ Browser doesn't support HDR canvas";
}
Expand Down

0 comments on commit e2c7e55

Please sign in to comment.