summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/shaderobj.h12
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