openfl / lime

A foundational Haxe framework for cross-platform development
https://lime.openfl.org/
MIT License
754 stars 370 forks source link

make preserveDrawingBuffer configurable #1770

Closed barisyild closed 4 months ago

player-03 commented 5 months ago

Copying your explanation from Discord:

It would be great if preserveDrawingBuffer could be adjustable. Without preserveDrawingBuffer the browser api cannot access the screenshot.

This includes our internal api "window.readPixels". https://github.com/openfl/lime/blob/bb3b31b08d75c0b9aa2dc1f3ab5f4539737f4d57/src/lime/ui/Window.hx#L406