summaryrefslogtreecommitdiff
path: root/src/mesa/shader/arbprogparse.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-01-04 17:22:19 -0700
committerBrian <brian@yutani.localnet.net>2007-01-04 17:22:19 -0700
commitc9db223f902ce9d7e9f3038e6baac6da7f231b34 (patch)
treebb7eb01bc607a19dd4af154a1173dea51fef0208 /src/mesa/shader/arbprogparse.c
parent7edd2ecb55d4cdc4067303867453d7e534bfad38 (diff)
move TexturesUsed[] into gl_program since vertex programs/shaders can use textures nowadays
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
-rw-r--r--src/mesa/shader/arbprogparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index 7a87bf015f..80e342e40a 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -4038,7 +4038,7 @@ _mesa_parse_arb_fragment_program(GLcontext* ctx, GLenum target,
program->Base.InputsRead = ap.Base.InputsRead;
program->Base.OutputsWritten = ap.Base.OutputsWritten;
for (i = 0; i < MAX_TEXTURE_IMAGE_UNITS; i++)
- program->TexturesUsed[i] = ap.TexturesUsed[i];
+ program->Base.TexturesUsed[i] = ap.TexturesUsed[i];
program->FogOption = ap.FogOption;
if (program->Base.Instructions)