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

Commit b3282695 authored by Jason Sams's avatar Jason Sams Committed by Android (Google) Code Review
Browse files

Merge "Fix native crash when GL driver fails to initialize."

parents b6e5e7a7 fb06b7a5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -693,7 +693,9 @@ RsContext rsContextCreateGL(RsDevice vdev, uint32_t version,
    LOGV("rsContextCreateGL %p", vdev);
    Device * dev = static_cast<Device *>(vdev);
    Context *rsc = Context::createContext(dev, &sc);
    if (rsc) {
        rsc->setDPI(dpi);
    }
    LOGV("rsContextCreateGL ret %p ", rsc);
    return rsc;
}