TINYGL: added tglAlphaTest stubs
This commit is contained in:
parent
2bf63a5f52
commit
b4962f645e
11 changed files with 61 additions and 7 deletions
|
@ -126,8 +126,13 @@ void glInit(void *zbuffer1) {
|
|||
c->render_mode = TGL_RENDER;
|
||||
c->select_buffer = NULL;
|
||||
c->name_stack_size = 0;
|
||||
|
||||
// blending
|
||||
c->enableBlend = false;
|
||||
|
||||
|
||||
// alpha test
|
||||
c->_alphaTestEnabled = false;
|
||||
|
||||
// matrix
|
||||
c->matrix_mode = 0;
|
||||
|
||||
|
@ -146,8 +151,11 @@ void glInit(void *zbuffer1) {
|
|||
tglLoadIdentity();
|
||||
tglMatrixMode(TGL_MODELVIEW);
|
||||
tglLoadIdentity();
|
||||
|
||||
tglBlendFunc(TGL_SRC_ALPHA, TGL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
tglAlphaFunc(TGL_ALWAYS, 0.f);
|
||||
|
||||
c->matrix_model_projection_updated = 1;
|
||||
|
||||
// opengl 1.1 arrays
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue