diff options
author | Zack Rusin <[email protected]> | 2010-02-10 19:00:35 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-02-12 16:00:22 -0500 |
commit | 59b4146a5dbeb108b53fc9c4132095e264ba04be (patch) | |
tree | e396484a38a7cbdea49172a21be5e2e8682688b0 /progs/samples/line.c | |
parent | 7082c47d1499bdc9348cf7a80ff3749d299898fa (diff) |
st/dri, st/xorg: fix buffers that have attachements of different depth
we actually need to specify the formats for different attachements, otherwise
if the color buffer is 24bpp and the app asks for 16bpp depth buffer than
we end up fetching the depth from the drawable which is 24bpp and end up
creating the wrong depth buffer. use the new getBuffersWithFormat extension
to pass the depth correctly.
Diffstat (limited to 'progs/samples/line.c')
0 files changed, 0 insertions, 0 deletions