mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
Android compilation fixes again
This commit is contained in:
parent
65f3408458
commit
d3114cbc67
2 changed files with 3 additions and 1 deletions
|
@ -749,7 +749,7 @@ void GLBackend::recycle() const {
|
|||
Texture::KtxStorage::releaseOpenKtxFiles();
|
||||
}
|
||||
|
||||
void GLBackend::setCameraCorrection(const Mat4& correction, const Mat4& prevRenderView) {
|
||||
void GLBackend::setCameraCorrection(const Mat4& correction, const Mat4& prevRenderView, bool reset) {
|
||||
auto invCorrection = glm::inverse(correction);
|
||||
auto invPrevView = glm::inverse(prevRenderView);
|
||||
_transform._correction.prevView = (reset ? Mat4() : prevRenderView);
|
||||
|
|
|
@ -303,6 +303,8 @@ protected:
|
|||
struct CameraCorrection {
|
||||
Mat4 correction;
|
||||
Mat4 correctionInverse;
|
||||
Mat4 prevView;
|
||||
Mat4 prevViewInverse;
|
||||
};
|
||||
|
||||
struct TransformStageState {
|
||||
|
|
Loading…
Reference in a new issue