diff options
author | Brian Paul <[email protected]> | 2010-10-26 18:04:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-10-26 18:05:37 -0600 |
commit | 9b3c4d3e67db9d43fc6b12d2b4943b087c80c926 (patch) | |
tree | b5ca87cdcebbf35e468b582a2a8d629ac5f3cf84 /src/mesa/main | |
parent | ccef2110edbcc418abebabecc42ee3d9c0e5ab7a (diff) |
mesa: remove the unused _mesa_is_fragment_shader_active() function
This reverts commit 013d5ffeec3af5665c81c6a7a8370d21699ca609.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/shaderobj.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/main/shaderobj.h b/src/mesa/main/shaderobj.h index 5c6a056bcc9..346a5b75175 100644 --- a/src/mesa/main/shaderobj.h +++ b/src/mesa/main/shaderobj.h @@ -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 |