diff options
author | Brian Paul <[email protected]> | 2009-01-28 16:49:28 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-28 16:49:28 -0700 |
commit | 26da28c995557c8b913e5ccfe31b31dc32e6c735 (patch) | |
tree | ee8d7502dba85aef86ee27c3d3139df013590dc4 /src/mesa/main/texstate.c | |
parent | f584752afefb06a17b10fc879f04c3b45bbc764b (diff) |
mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_texture
Everyone should be using the newer/better ARB versions of these extensions.
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r-- | src/mesa/main/texstate.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index 7cddec0bcec..f7a4d8b323b 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -404,16 +404,6 @@ update_texture_compare_function(GLcontext *ctx, */ tObj->_Function = GL_NONE; } - else if (tObj->CompareFlag) { - /* GL_SGIX_shadow */ - if (tObj->CompareOperator == GL_TEXTURE_LEQUAL_R_SGIX) { - tObj->_Function = GL_LEQUAL; - } - else { - ASSERT(tObj->CompareOperator == GL_TEXTURE_GEQUAL_R_SGIX); - tObj->_Function = GL_GEQUAL; - } - } else if (tObj->CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB) { /* GL_ARB_shadow */ tObj->_Function = tObj->CompareFunc; |