diff options
author | Brian Paul <[email protected]> | 2008-10-14 10:55:38 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-14 12:54:30 -0600 |
commit | 0bee156d8518419befb50ba57d22fed4037797ce (patch) | |
tree | 0aafaa3dbebd083f10b27e51082a282e64486ece /src/gallium/drivers/cell/ppu/cell_state_emit.c | |
parent | b7609be0f1cc8d7a822a29a2ecc165cd848df2b3 (diff) |
cell: now do texture twiddling in the right way, at the right time.
Also handles images smaller than 32x32 now.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_state_emit.c')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_state_emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_state_emit.c b/src/gallium/drivers/cell/ppu/cell_state_emit.c index 7090b4c99f7..cae546b7002 100644 --- a/src/gallium/drivers/cell/ppu/cell_state_emit.c +++ b/src/gallium/drivers/cell/ppu/cell_state_emit.c @@ -222,8 +222,8 @@ cell_emit_state(struct cell_context *cell) uint level; for (level = 0; level < CELL_MAX_TEXTURE_LEVELS; level++) { texture->start[level] = NULL; - texture->width[level] = 1; - texture->height[level] = 1; + texture->width[level] = 0; + texture->height[level] = 0; } } } |