Android compilation fixes again

This commit is contained in:
Olivier Prat 2018-02-23 21:52:45 +01:00
parent 65f3408458
commit d3114cbc67
2 changed files with 3 additions and 1 deletions

View file

@ -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);

View file

@ -303,6 +303,8 @@ protected:
struct CameraCorrection {
Mat4 correction;
Mat4 correctionInverse;
Mat4 prevView;
Mat4 prevViewInverse;
};
struct TransformStageState {