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:
parent
3196c0a0fb
commit
6bd38b1801
10 changed files with 43 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue