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

Commit eac3503d authored by Alex Sakhartchouk's avatar Alex Sakhartchouk Committed by Android (Google) Code Review
Browse files

Merge "Correctly call glviewport when surface changes."

parents caed51bc 10ed0493
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -442,6 +442,7 @@ void Context::setSurface(uint32_t w, uint32_t h, RsNativeWindow sur) {

    if (mWidth && mHeight) {
        mStateVertex.updateSize(this);
        mFBOCache.updateSize();
    }
}

+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ public:
    void resetAll(Context *);

    void setup(Context *);
    void updateSize() { mDirty = true; }

    struct Hal {
        mutable void *drv;