diff options
author | Brian <brian@i915.localnet.net> | 2007-02-24 18:14:53 -0700 |
---|---|---|
committer | Brian <brian@i915.localnet.net> | 2007-02-24 18:14:53 -0700 |
commit | 53170942e37ccdf58e06a2cfbfeef6c0ec086ee6 (patch) | |
tree | 46b4fbd12d745036927053061d1e8a9b4cad7949 /src/mesa/drivers/d3d/D3DShared.h | |
parent | aeaad937b92ac0f5286343ed75c5c9f6876e2650 (diff) |
Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting).
In i915_miptree_layout() change the width, height parameters that are passed
to intel_miptree_set_level_info(). As it was, the width, height values were
larger than the source image dimensions and we segfaulted in memcpy() when
copying the original texture data into the texture buffer region.
This fix should probably be checked by someone more familiar with the code (Keith?)
Diffstat (limited to 'src/mesa/drivers/d3d/D3DShared.h')
0 files changed, 0 insertions, 0 deletions