fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269)

This commit is contained in:
Roland Scheidegger 2008-04-01 23:24:11 +02:00
parent 5c4ca968fa
commit 28dfb0613b
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,7 @@ update_program(GLcontext *ctx)
ctx->FragmentProgram._Enabled = ctx->FragmentProgram.Enabled
&& ctx->FragmentProgram.Current->Base.Instructions;
ctx->ATIFragmentShader._Enabled = ctx->ATIFragmentShader.Enabled
&& ctx->ATIFragmentShader.Current->Instructions;
&& ctx->ATIFragmentShader.Current->Instructions[0];
/*
* Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current