GrayDBufCleanup Function (Macro)

gray.h

void GrayDBufCleanup (void);

Uninitializes grayscale double-buffering.

GrayDBufCleanup turns off double-buffering mode, which should have been previously turned on with GrayDBufInit. After calling this function, you can operate in grayscale just like before calling GrayDBufInit. You do not need to call this function explicitly before GrayOff, as GrayOff will perform the necessary uninitialization itself.

Note: GrayDBufCleanup does not free the buffer passed to GrayDBufInit. You need to do this yourself afterwards, i.e. after calling this function or GrayOff.


See also: GrayDBufInit, GrayOff