TINYGL: added tglAlphaTest stubs
This commit is contained in:
parent
2bf63a5f52
commit
b4962f645e
11 changed files with 61 additions and 7 deletions
|
@ -185,6 +185,16 @@ void tglBlendFunc(TGLenum sfactor, TGLenum dfactor) {
|
|||
TinyGL::gl_add_op(p);
|
||||
}
|
||||
|
||||
void tglAlphaFunc(TGLenum func, float ref) {
|
||||
TinyGL::GLParam p[3];
|
||||
|
||||
p[0].op = TinyGL::OP_AlphaFunc;
|
||||
p[1].i = func;
|
||||
p[2].f = ref;
|
||||
|
||||
TinyGL::gl_add_op(p);
|
||||
}
|
||||
|
||||
void tglPolygonMode(int face, int mode) {
|
||||
TinyGL::GLParam p[3];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue