bbmod_surface_check

function

bbmod_surface_check(_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 to check.
_width Real The desired width of the surface.
_height Real The desired height of the surface.

Returns

Id.Surface The surface.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.