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

Use correct "natural" surface size when computing surface-to-buffer matrix

If the source rectangle is not set, we need to use the surface size
given by the attached buffer. It's computed as buffer size / scale, but
the buffer can also be transformed. In other words, we need to compute
the natural surface size as follows - buffer size / scale and transpose
the result if the buffer is rotated 90 or 270 degrees.
parent 705e5307
Pipeline #121039 passed with stage
in 2 minutes and 45 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