Do proper framebuffer refcounting in _mesa_make_current().
authorBrian <brian@yutani.localnet.net>
Mon, 26 Feb 2007 18:37:37 +0000 (11:37 -0700)
committerBrian <brian@yutani.localnet.net>
Mon, 26 Feb 2007 18:37:37 +0000 (11:37 -0700)
commite6a9381f78605072cab52447fce35eaa98c1e75c
tree4f4bd45e59f550e120e31c8924e9c156233cec07
parent344c3f7379ab4db749e7e8513be9be8fbb9f126c
Do proper framebuffer refcounting in _mesa_make_current().

Also, added DeletePending field to gl_framebuffer used when a window has been
deleted, but there still may be rendering contexts attached to the
gl_framebuffer object.
src/mesa/main/context.c
src/mesa/main/framebuffer.c
src/mesa/main/mtypes.h