diff options
| author | Brian <brian@yutani.localnet.net> | 2007-03-16 11:00:07 -0600 |
|---|---|---|
| committer | Brian <brian@yutani.localnet.net> | 2007-03-16 11:00:07 -0600 |
| commit | e5070bc3ca75dee31034cc543f3d2ee04e5dc032 (patch) | |
| tree | c275438e2790d47da063fdccd7a7acbf64a3afd4 /src/mesa/drivers/common/driverfuncs.c | |
| parent | 7573b58db659b32f3589fc955959710d44353239 (diff) | |
Assorted fixes for dealing with zero-size frame/renderbuffers.
In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still
call _mesa_resize_framebufer(). If we don't we can wind up in a situation
where the framebuffer size is non-zero but an attached renderbuffer size
is still initialized to zero. This inconsistancy can later cause problems.
Check for zero-size renderbuffers in update_color_draw_buffers() and
update_color_read_buffer().
See bug 7205.
Diffstat (limited to 'src/mesa/drivers/common/driverfuncs.c')
0 files changed, 0 insertions, 0 deletions
