diff options
Diffstat (limited to 'src/mesa/tnl/t_vb_cull.c')
-rw-r--r-- | src/mesa/tnl/t_vb_cull.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_cull.c b/src/mesa/tnl/t_vb_cull.c index 3a022e84c46..b5ba68dc86d 100644 --- a/src/mesa/tnl/t_vb_cull.c +++ b/src/mesa/tnl/t_vb_cull.c @@ -57,7 +57,7 @@ static GLboolean run_cull_stage( GLcontext *ctx, GLuint count = VB->Count; GLuint i; - if (ctx->ShaderObjects.CurrentProgram != NULL) + if (ctx->ShaderObjects._VertexShaderPresent) return GL_TRUE; if (ctx->VertexProgram._Enabled || |