diff options
author | Dave Airlie <[email protected]> | 2009-04-01 16:13:30 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-04-01 16:13:30 +1000 |
commit | f9d272fa414ec04d9cc608840436f29e6adf84bc (patch) | |
tree | 4677ee291c91e9e976e62098f5e0d85672af3437 /src/mesa/drivers/dri/r300/r300_texstate.c | |
parent | 6e30fe4873f30ccf9edec9ab6113ea647dccb9b7 (diff) |
radeon: go back and repick texture formats.
This might trip up some serious FBO users, will have to see, but
it avoids the slow paths for all the demos I have.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c index 0c6d092df36..baaca5f1e59 100644 --- a/src/mesa/drivers/dri/r300/r300_texstate.c +++ b/src/mesa/drivers/dri/r300/r300_texstate.c @@ -457,7 +457,7 @@ void r300SetTexBuffer2(__DRIcontext *pDRICtx, GLint target, GLint glx_texture_fo texImage->RowStride = rb->pitch / rb->cpp; texImage->TexFormat = radeonChooseTextureFormat(radeon->glCtx, internalFormat, - type, format); + type, format, 0); rImage->bo = rb->bo; radeon_bo_ref(rImage->bo); t->bo = rb->bo; |