Skip to content
Commit edd5d1cc authored by Loïc Molinari's avatar Loïc Molinari Committed by Derek Foreman
Browse files

gl-renderer: Make clip_transformed() surf parameter constant



Calling clip_transformed() 4 times in a row with the same polygon8 in
commit a4d31fa8 introduced a bug
because the surf input is modified each time. This is fixed by working
on a local copy. The input parameter is marked constant to reflect the
change on the function prototype.

Fixes #764

Signed-off-by: default avatarLoïc Molinari <loic.molinari@gmail.com>
parent 68fd41a7
Pipeline #919002 passed with stages
in 6 minutes and 18 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