PEd_SurfaceCheck

function

PEd_SurfaceCheck(_surface, _width, _height)

Description

Checks whether the surface exists and if it has correct size. Broken surfaces are recreated. Surfaces of wrong size are resized.

Arguments

Name Type Description
_surface Id.Surface The surface.
_width Real The desired width of the surface.
_height Real The desired height of the surface.

Returns

Id.Surface The surface.


Copyright © 2022, BlueBurn. Built on September 12, 2022 using GMDoc.