refactor(wayland): move shaders to separate module

This commit is contained in:
Nova
2022-08-22 10:35:09 -04:00
parent ac765f6c2b
commit cb1e45145f
7 changed files with 7 additions and 3 deletions

View File

@@ -11,8 +11,7 @@ use stereokit::{
StereoKit,
};
// const GAMMA_SHADER_BYTES: &[u8] = include_bytes!("shader_unlit_gamma.sks");
const SIMULA_SHADER_BYTES: &[u8] = include_bytes!("shader_unlit_simula.sks");
use super::shaders::SIMULA_SHADER_BYTES;
pub struct CoreSurface {
pub(crate) wl_tex: RefCell<Option<SendWrapper<Gles2Texture>>>,