TINYGL: Added external interface for tglBlendFunc
This commit is contained in:
parent
7712eb6c5e
commit
10c25d49d4
6 changed files with 20 additions and 0 deletions
|
@ -165,6 +165,16 @@ void tglColorMask(TGLboolean r, TGLboolean g, TGLboolean b, TGLboolean a) {
|
|||
TinyGL::gl_add_op(p);
|
||||
}
|
||||
|
||||
void tglBlendFunc(TGLenum sfactor, TGLenum dfactor) {
|
||||
TinyGL::GLParam p[3];
|
||||
|
||||
p[0].op = TinyGL::OP_BlendFunc;
|
||||
p[1].i = sfactor;
|
||||
p[2].i = dfactor;
|
||||
|
||||
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