TINYGL: Use astyle to (semi-selectively) apply the code-formatting conventions to TinyGL.
This commit is contained in:
parent
b21271bd82
commit
698ef4a37c
26 changed files with 835 additions and 838 deletions
|
@ -14,7 +14,7 @@ void glopClearDepth(GLContext *c, GLParam *p) {
|
|||
c->clear_depth = p[1].f;
|
||||
}
|
||||
|
||||
void glopClear(GLContext *c,GLParam *p) {
|
||||
void glopClear(GLContext *c, GLParam *p) {
|
||||
int mask = p[1].i;
|
||||
int z = 0;
|
||||
int r = (int)(c->clear_color.v[0] * 65535);
|
||||
|
@ -22,7 +22,7 @@ void glopClear(GLContext *c,GLParam *p) {
|
|||
int b = (int)(c->clear_color.v[2] * 65535);
|
||||
|
||||
// TODO : correct value of Z
|
||||
ZB_clear(c->zb,mask & TGL_DEPTH_BUFFER_BIT, z, mask & TGL_COLOR_BUFFER_BIT, r, g, b);
|
||||
ZB_clear(c->zb, mask & TGL_DEPTH_BUFFER_BIT, z, mask & TGL_COLOR_BUFFER_BIT, r, g, b);
|
||||
}
|
||||
|
||||
} // end of namespace TinyGL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue