diff options
Diffstat (limited to 'src/gallium/auxiliary/driver_trace/tr_screen.c')
-rw-r--r-- | src/gallium/auxiliary/driver_trace/tr_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/driver_trace/tr_screen.c b/src/gallium/auxiliary/driver_trace/tr_screen.c index d5a81249b51..704b2a3c72d 100644 --- a/src/gallium/auxiliary/driver_trace/tr_screen.c +++ b/src/gallium/auxiliary/driver_trace/tr_screen.c @@ -444,7 +444,8 @@ trace_screen_resource_changed(struct pipe_screen *_screen, trace_dump_arg(ptr, screen); trace_dump_arg(ptr, resource); - screen->resource_changed(screen, resource); + if (screen->resource_changed) + screen->resource_changed(screen, resource); trace_dump_call_end(); } |