mesa: remove the unused _mesa_is_fragment_shader_active() function

This reverts commit 013d5ffeec.
This commit is contained in:
Brian Paul
2010-10-26 18:04:28 -06:00
parent ccef2110ed
commit 9b3c4d3e67
-12
View File
@@ -130,18 +130,6 @@ _mesa_shader_index_to_type(GLuint i)
}
/**
* Check if there's a fragment shader active.
*/
static INLINE GLboolean
_mesa_is_fragment_shader_active(const struct gl_context *ctx)
{
return (ctx->Shader.CurrentProgram &&
ctx->Shader.CurrentProgram->LinkStatus &&
ctx->Shader.CurrentProgram->FragmentProgram);
}
#ifdef __cplusplus
}
#endif