mesa: remove the unused _mesa_is_fragment_shader_active() function
This reverts commit 013d5ffeec.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user