mesa: use _mesa_is_user_fbo() and _mesa_is_winsys_fbo() functions
authorBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 16:17:23 +0000 (09:17 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 16:58:45 +0000 (09:58 -0700)
commit36ede89687fe2de213f2637ab7acfb80cfd856cd
tree86280b042964a712d67f8deb96c21e07bbe36049
parent185ee042ac4c6b08f7842b35d8234f2f8fab7831
mesa: use _mesa_is_user_fbo() and _mesa_is_winsys_fbo() functions

Rather than testing the fbo's name against zero.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/buffers.c
src/mesa/main/fbobject.c
src/mesa/main/fbobject.h
src/mesa/main/framebuffer.c
src/mesa/main/renderbuffer.c
src/mesa/main/teximage.c
src/mesa/main/texobj.c