radeon: avoid segfault in radeon_update_renderbuffers() if using DRI1
authorTormod Volden <debian.tormod@gmail.com>
Tue, 12 May 2009 07:32:11 +0000 (09:32 +0200)
committerJerome Glisse <glisse@freedesktop.org>
Tue, 12 May 2009 10:43:08 +0000 (12:43 +0200)
commit0bfa8dfaaf49703eb5c3237b5cae6201b8755e4d
tree5b0a11f7b9202ff04ba93980c2f4f15562e76637
parent98bb5c610dc68d8e9a185216ce9d2dc6d278c114
radeon: avoid segfault in radeon_update_renderbuffers() if using DRI1

Basically the same as 43d9020ff1e975e7f4f9480d9ef24f0b9fb2141f for intel. Bug 21688.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
src/mesa/drivers/dri/radeon/radeon_common_context.c