diff options
author | Brian Paul <[email protected]> | 2005-11-19 16:43:04 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-11-19 16:43:04 +0000 |
commit | 63d683091fe3a9600b65ae7ef3b554168b805406 (patch) | |
tree | 67d3aca6d541ef1a205e201ac7b2a6dda76898bf /src/mesa/main/state.c | |
parent | 430c469c5b5edd33fd29db9ab59ac1dccc02af21 (diff) |
No longer derive 'ati_fragment_shader' from 'program' class. Only the
program->Id and program->RefCount fields were used and ATI fragment shaders
didn't have too much in common with ARB/NV vertex/fragment programs anyway.
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r-- | src/mesa/main/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 7eb68db845a..562a0c5a451 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -934,7 +934,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->Base.Instructions; + && ctx->ATIFragmentShader.Current->Instructions; ctx->FragmentProgram._Current = ctx->FragmentProgram.Current; ctx->FragmentProgram._Active = ctx->FragmentProgram._Enabled; |