Macaw OS C reference

Function gpu_color

#include <macawgpu.h>
void gpu_color(int colour);

Sets the colour of the corners you send after it, for drawing without a texture.

Parameters

colourint
A colour number from 0 to 255, like RED.

In Drawing a corner at a time, with gpu_begin, gpu_colorex, gpu_texcoord, gpu_normal, gpu_vertex, gpu_vertex4, gpu_done, gpu_end.