projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccef211
)
mesa: remove the unused _mesa_is_fragment_shader_active() function
author
Brian Paul
<brianp@vmware.com>
Wed, 27 Oct 2010 00:04:28 +0000
(18:04 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 27 Oct 2010 00:05:37 +0000
(18:05 -0600)
This reverts commit
013d5ffeec3af5665c81c6a7a8370d21699ca609
.
src/mesa/main/shaderobj.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderobj.h
b/src/mesa/main/shaderobj.h
index 5c6a056bcc908a84587af9c3401cda7434f461be..346a5b75175da10f34fc3bb73ee5568e356634ce 100644
(file)
--- 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