Skip to content
Commit ba000d5a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

scene: Compute projection matrix based on the render target rect

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().
parent 5caa28c1
Pipeline #137855 passed with stage
in 22 minutes and 16 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment