TINYGL: Support ColorMask

Note, this is just basic support, it is either all or nothing.
Disabling select channels is not possible.
This commit is contained in:
Dries Harnie 2013-07-02 00:11:26 +02:00
parent 3196c0a0fb
commit 6bd38b1801
10 changed files with 43 additions and 0 deletions

View file

@ -180,6 +180,8 @@ void glInit(void *zbuffer1) {
// depth test
c->depth_test = 0;
c->color_mask = (1 << 24) | (1 << 16) | (1 << 8) | (1 << 0);
}
void glClose() {