Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0915268 authored by Stephen Hines's avatar Stephen Hines
Browse files

Fix argument passing with dimLOD.

BUG=6152130

Change-Id: I5c857b692af8ec45e4cbef8140c44d72aec6600e
parent 772a7396
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -257,14 +257,14 @@ ObjectBaseRef<Type> Type::getTypeRef(Context *rsc, const Element *e,

ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const {
    return getTypeRef(rsc, mElement.get(), dimX,
                      mHal.state.dimY, mHal.state.dimZ, mHal.state.lodCount, mHal.state.faces);
                      getDimY(), getDimZ(), getDimLOD(), getDimFaces());
}

ObjectBaseRef<Type> Type::cloneAndResize2D(Context *rsc,
                              uint32_t dimX,
                              uint32_t dimY) const {
    return getTypeRef(rsc, mElement.get(), dimX, dimY,
                      mHal.state.dimZ, mHal.state.lodCount, mHal.state.faces);
                      getDimZ(), getDimLOD(), getDimFaces());
}