Files
Cagire/plugins/egui-baseview/src/renderer/opengl.rs
Raphaël Forment b728b38d6e
Some checks failed
Deploy Website / deploy (push) Failing after 29s
Feat: add hidden mode and new documentation
2026-02-26 12:31:56 +01:00

16 lines
385 B
Rust

//! OpenGL renderer errors and submodule.
use egui_glow::PainterError;
use thiserror::Error;
pub mod renderer;
/// Errors from OpenGL context or painter initialization.
#[derive(Error, Debug)]
pub enum OpenGlError {
#[error("Failed to get baseview's GL context")]
NoContext,
#[error("Error occured when initializing painter: \n {0}")]
CreatePainter(PainterError),
}