Macaw OS C reference

Function gpu_disable

#include <macawgpu.h>
void gpu_disable(const char *cap);

Switches a feature of the chip off.

Parameters

capconst char *
The feature, one a call: "depth_test", "cull_face", "lighting", "fog" or "texture".

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