TINYGL: implemented tglAlphaTest
This commit is contained in:
parent
5f87912e91
commit
7370dcd635
2 changed files with 46 additions and 3 deletions
|
@ -117,7 +117,7 @@ void glopBlendFunc(GLContext *c, GLParam *p) {
|
|||
|
||||
void glopAlphaFunc(GLContext *c, GLParam *p) {
|
||||
TGLenum func = p[1].i;
|
||||
float ref = p[2].i;
|
||||
float ref = p[2].f;
|
||||
c->fb->setAlphaTestFunc(func, ref);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue