diff options
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(); |