Skip to content
  • Vlad Zahorodnii's avatar
    scene: Compute projection matrix based on the render target rect · ba000d5a
    Vlad Zahorodnii authored
    Neither SceneQPainter nor SceneOpenGL have to compute the projection
    matrix by themselves. It can be done by the Scene when setting the
    projection matrix. The main benefit behind this change is that it
    reduces the amount of custom setup code around paintScreen(), which
    makes us one step closer to getting rid of graphics-specific paint()
    function and just calling paintScreen().
    ba000d5a