summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/xf86dristr.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-24 18:14:53 -0700
committerBrian <[email protected]>2007-02-24 18:14:53 -0700
commit53170942e37ccdf58e06a2cfbfeef6c0ec086ee6 (patch)
tree46b4fbd12d745036927053061d1e8a9b4cad7949 /src/glx/x11/xf86dristr.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/glx/x11/xf86dristr.h')
0 files changed, 0 insertions, 0 deletions