platforms/drm: Properly clean up the shadow framebuffer object

In case hardware transforms can be used again, the shadow framebuffer must be destroyed; otherwise rendered results will be distorted due to a mismatch between the dimensions of the shadow framebuffer and the mode size.

Merge request reports

Loading