Skip to content

gl-renderer: Make clip_transformed() surf parameter constant

Loïc Molinari requested to merge molinari/weston:clip_transformed_fix into main

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 (closed)

Merge request reports

Loading