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

Commit 10ed0493 authored by Alex Sakhartchouk's avatar Alex Sakhartchouk
Browse files

Correctly call glviewport when surface changes.

Change-Id: I7ef1539e39ea67245bac5ee410deb5918fc5dfcf
parent cadaa3a9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -446,6 +446,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;