intel_winsys: Fix intel_buffer_reference.
authorMichel Daenzer <daenzer@localhost.(none)>
Fri, 14 Sep 2007 14:51:00 +0000 (15:51 +0100)
committerMichel Daenzer <daenzer@localhost.(none)>
Fri, 14 Sep 2007 14:53:52 +0000 (15:53 +0100)
commitd59c95bfae0402813a6b9a1242cdd971624c127a
tree4fa29f91fdf0facd1c7fa75fa56edebf3f9cca29
parentc01a5ec3d63a2f414e2b6c5b31c80367943189b4
intel_winsys: Fix intel_buffer_reference.

Correctly clear the pointer to the old buffer (not sure how this could build at
all before...) and only reference the new one when its pointer is non-NULL.
src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c