Improved pipe_region/surface_reference() functions
authorBrian <brian.paul@tungstengraphics.com>
Wed, 22 Aug 2007 18:41:59 +0000 (12:41 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 22 Aug 2007 18:41:59 +0000 (12:41 -0600)
commit8a868919b50bdca4dc697d61e220a8fb50764f8e
tree85d7bab697bc56619ba9afef662116f327d2977e
parentc0bb4ba9e665e40a325d82aa2ee48d7b8abd603b
Improved pipe_region/surface_reference() functions

Now dereferences the old object first.
Target object may be NULL to clear the pointer.
src/mesa/pipe/p_context.h
src/mesa/state_tracker/st_cb_fbo.c