1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

eframe glow backend: Clear render target before calling App::update (#3665)

* Closes https://github.com/emilk/egui/issues/3659
This commit is contained in:
Emil Ernerfeldt
2023-11-30 16:37:16 +01:00
committed by GitHub
parent bd9bc252aa
commit 4b1523ad51
7 changed files with 146 additions and 60 deletions

View File

@@ -1,7 +1,7 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
#![allow(unsafe_code)]
use eframe::egui;
use eframe::{egui, egui_glow, glow};
use egui::mutex::Mutex;
use std::sync::Arc;