mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Fix panic on wgpu GL backend due to new screenshot capability (#3078)
* Triage for GL backend * And cargo-fmt * Changelog update with PR and issue * Update crates/eframe/src/epi/mod.rs Co-authored-by: Andreas Reich <r_andreas2@web.de> * Update crates/egui-wgpu/src/winit.rs Co-authored-by: Andreas Reich <r_andreas2@web.de> * Add "supports_screenshot" to surface state * Cranky fix * fmt --------- Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
@@ -799,6 +799,7 @@ impl Frame {
|
||||
/// * Called in [`App::update`]
|
||||
/// * [`Frame::request_screenshot`] wasn't called on this frame during [`App::update`]
|
||||
/// * The rendering backend doesn't support this feature (yet). Currently implemented for wgpu and glow, but not with wasm as target.
|
||||
/// * Wgpu's GL target is active (not yet supported)
|
||||
/// * Retrieving the data was unsuccessful in some way.
|
||||
///
|
||||
/// See also [`egui::ColorImage::region`]
|
||||
|
||||
Reference in New Issue
Block a user