Skip to content

fix: replace console.warn with p5._friendlyError in p5.Framebuffer (fixes #8593)#8594

Open
MASTERsj01 wants to merge 1 commit intoprocessing:mainfrom
MASTERsj01:fix/framebuffer-console-to-fes
Open

fix: replace console.warn with p5._friendlyError in p5.Framebuffer (fixes #8593)#8594
MASTERsj01 wants to merge 1 commit intoprocessing:mainfrom
MASTERsj01:fix/framebuffer-console-to-fes

Conversation

@MASTERsj01
Copy link

Summary

Replaces 11 console.warn calls in p5.Framebuffer.js with p5._friendlyError().

Resolves #8593

Notes

  • All tests pass (1913 passing)
  • 1 file changed: 31 insertions, 22 deletions

- Replace 11 console.warn calls with p5._friendlyError()
- Covers: antialiasing, dimensions, stencil, depth textures,
  format validation, and environment capability warnings
- Messages now respect p5.disableFriendlyErrors setting
- Zero console.warn remaining in p5.Framebuffer.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

p5.Framebuffer: replace console.warn with Friendly Error System (FES)

1 participant