[Mesa-dev] [PATCH] mesa: check for null ptr in _mesa_is_bufferobj()

Kenneth Graunke kenneth at whitecape.org
Thu Nov 24 18:36:13 PST 2011


On 11/23/2011 02:35 PM, Brian Paul wrote:
> This simplifies a few callers.  And it adds a bit of robustness.
> ---
>  src/mesa/main/bufferobj.c        |    6 +++---
>  src/mesa/main/bufferobj.h        |    2 +-
>  src/mesa/state_tracker/st_draw.c |   10 +++++-----
>  3 files changed, 9 insertions(+), 9 deletions(-)

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list