diff options
author | Marek Olšák <[email protected]> | 2010-04-27 12:22:23 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-27 12:25:23 +0200 |
commit | b7fa7e8da6239333bd9327eac1a3015c668d215b (patch) | |
tree | 53f6b5d896a831237233e067da9f3bf2848ac0d6 /src/gallium/drivers/r300/r300_texture.c | |
parent | 847a24c011fda1fa21995a3e54848f15e75dccc9 (diff) |
r300g: fix mipmapped texture3D size calculation
I accidentally inverted the condition. :(
Broken since the commit 2579fe4044012a552c8be222ffae76b48de13592.
FDO bug #27851.
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index cfa61b0b3f6..bffda846d70 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -767,7 +767,7 @@ static void r300_texture_3d_fix_mipmapping(struct r300_screen *screen, unsigned i, size; - if (screen->rws->get_value(screen->rws, R300_VID_DRM_2_3_0) && + if (!screen->rws->get_value(screen->rws, R300_VID_DRM_2_3_0) && tex->b.b.target == PIPE_TEXTURE_3D && tex->b.b.last_level > 0) { size = 0; |