gles2: Expose `Gles2Frame`s projection matrix
This commit is contained in:
parent
f4811646be
commit
20d95c80c6
|
@ -1428,4 +1428,9 @@ impl Gles2Frame {
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Projection matrix for this frame
|
||||||
|
pub fn projection(&self) -> &[f32; 9] {
|
||||||
|
self.current_projection.as_ref()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue