Macaw OS C reference

Function gpu_reset

#include <macawgpu.h>
void gpu_reset(void);

Puts all of the chip's settings back how they started: features, matrices, lights, fog, the texture and the viewport.

Parameters

It takes nothing.

In State, with gpu_enable, gpu_disable, gpu_isenabled, gpu_depthmask, gpu_cullface, gpu_frontface, gpu_viewport, gpu_clearcolor, gpu_clear.