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

Commit 1661715d authored by John Reck's avatar John Reck
Browse files

Implement TODO

Change-Id: I551ad0dab6356baa4c7787718b54d5b7337a3f26
parent 56d3cb30
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -110,8 +110,7 @@ void CanvasContext::updateSurface(ANativeWindow* window) {
}

void CanvasContext::pauseSurface(ANativeWindow* window) {
    // TODO: For now we just need a fence, in the future suspend any animations
    // and such to prevent from trying to render into this surface
    stopDrawing();
}

void CanvasContext::setup(int width, int height, const Vector3& lightCenter, float lightRadius,