summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/d3d/D3DShared.h
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-02-24 18:14:53 -0700
committerBrian <brian@i915.localnet.net>2007-02-24 18:14:53 -0700
commit53170942e37ccdf58e06a2cfbfeef6c0ec086ee6 (patch)
tree46b4fbd12d745036927053061d1e8a9b4cad7949 /src/mesa/drivers/d3d/D3DShared.h
parentaeaad937b92ac0f5286343ed75c5c9f6876e2650 (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