diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/driver_trace/tr_dump_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/driver_trace/tr_dump_state.c b/src/gallium/auxiliary/driver_trace/tr_dump_state.c index e7e32237c4c..2d12720ddd9 100644 --- a/src/gallium/auxiliary/driver_trace/tr_dump_state.c +++ b/src/gallium/auxiliary/driver_trace/tr_dump_state.c @@ -724,7 +724,7 @@ void trace_dump_image_view(const struct pipe_image_view *state) if (!trace_dumping_enabled_locked()) return; - if(!state) { + if (!state || !state->resource) { trace_dump_null(); return; } |