Macaw OS C reference

Function gpu_enable

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

Switches a feature of the chip on. It stays on until you switch it off or call gpu_reset.

Parameters

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

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