diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:45:39 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:45:39 +0000 |
commit | 42d8b8893d9cd37ddef4d5e4fa021d4ab73d2cb9 (patch) | |
tree | b788f5dbc04d447d997d5746d998defb8a5c0901 /lib/mesa/src/gallium/auxiliary/draw | |
parent | dbf119da45f30562a0e28f22b13acb6df7a5f530 (diff) |
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/draw')
-rw-r--r-- | lib/mesa/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c b/lib/mesa/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c index c7b224a88..b6966a52e 100644 --- a/lib/mesa/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c +++ b/lib/mesa/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c @@ -376,7 +376,7 @@ static void fetch_emit_destroy( struct draw_pt_middle_end *middle ) struct draw_pt_middle_end *draw_pt_fetch_emit( struct draw_context *draw ) { struct fetch_emit_middle_end *fetch_emit = CALLOC_STRUCT( fetch_emit_middle_end ); - if (!fetch_emit) + if (fetch_emit == NULL) return NULL; fetch_emit->cache = translate_cache_create(); |