r128, radeon, r200: Check ctx->WinSysDrawBuffer before calling function that derefere...
authorRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 27 Mar 2007 14:22:00 +0000 (16:22 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 27 Mar 2007 14:22:00 +0000 (16:22 +0200)
commit32225d06b9ade78df612b3fd8c3aff93afa3b7ff
treee2259bb1b489ec8ba6cc3d3fc958947bf92fe6d2
parenta83593922218b3fc88d3e553f8db079b188bd068
r128, radeon, r200: Check ctx->WinSysDrawBuffer before calling function that dereferences it.

Same fix as for r300 (which fixed https://bugs.freedesktop.org/show_bug.cgi?id=10417),
since it's likely an issue with those drivers too.
src/mesa/drivers/dri/r128/r128_lock.c
src/mesa/drivers/dri/r200/r200_lock.c
src/mesa/drivers/dri/radeon/radeon_lock.c