| 86 | } |
| 87 | |
| 88 | pub struct RawTexture { |
| 89 | gfx: Graphics, |
| 90 | pub(crate) id: glow::Texture, |
| 91 | width: i32, |
| 92 | height: i32, |
| 93 | } |
| 94 | |
| 95 | impl RawTexture { |
| 96 | pub fn new(gfx: &Graphics, width: i32, height: i32, data: &[u8]) -> RawTexture { |
nothing calls this directly
no outgoing calls
no test coverage detected