diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2005-05-11 17:28:13 +0000 |
---|---|---|
committer | Aapo Tahkola <aet@rasterburn.org> | 2005-05-11 17:28:13 +0000 |
commit | 4e68f4c1faa67c072fefe040271edf2c3a334eb7 (patch) | |
tree | 33e5442bec96e453f0dd1cb9263562fcc4b7c3aa /src/mesa/drivers/dri/r300/r300_texprog.c | |
parent | 1e5772f0ba7300e19d1980c0e30e358e71c5c685 (diff) |
VBOs.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texprog.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texprog.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texprog.c b/src/mesa/drivers/dri/r300/r300_texprog.c index f90c4bacb8..4f92d9094b 100644 --- a/src/mesa/drivers/dri/r300/r300_texprog.c +++ b/src/mesa/drivers/dri/r300/r300_texprog.c @@ -223,7 +223,10 @@ void r300GenerateTextureFragmentShader(r300ContextPtr r300) struct r300_pixel_shader_program *p = &ps->program; GLcontext *ctx = r300->radeon.glCtx; int i, tc_reg; - GLuint OutputsWritten = CURRENT_VERTEX_SHADER(ctx)->OutputsWritten; + GLuint OutputsWritten; + + if(hw_tcl_on) + OutputsWritten = CURRENT_VERTEX_SHADER(ctx)->OutputsWritten; p->tex.length = 0; p->alu.length = 0; |