1
0
Fork 0
forked from wry/wry
wry/src/gfx_apis.rs
2023-10-22 20:42:35 +02:00

13 lines
239 B
Rust

use {
crate::{
gfx_api::{GfxContext, GfxError},
video::drm::Drm,
},
std::rc::Rc,
};
pub mod gl;
pub fn create_gfx_context(drm: &Drm) -> Result<Rc<dyn GfxContext>, GfxError> {
gl::create_gfx_context(drm)
}