diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-10-11 19:39:27 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-14 11:09:00 +0100 |
commit | 48267b730cdf3e4ce78449cee10413cb5e73fb50 (patch) | |
tree | 101e2437b05a697b3cb91b76b6a11f9edaec73bf /src/gallium/targets | |
parent | 792148f16a70e3aa62b9f2c9f9dc95db6487cca5 (diff) |
gallium: annotate sw_driver_descriptor instance as const data
Already treated and handled as such.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_swrast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/pipe-loader/pipe_swrast.c b/src/gallium/targets/pipe-loader/pipe_swrast.c index cf617f37e2..0a980b3b1a 100644 --- a/src/gallium/targets/pipe-loader/pipe_swrast.c +++ b/src/gallium/targets/pipe-loader/pipe_swrast.c @@ -23,7 +23,7 @@ swrast_create_screen(struct sw_winsys *ws) } PUBLIC -struct sw_driver_descriptor swrast_driver_descriptor = { +const struct sw_driver_descriptor swrast_driver_descriptor = { .create_screen = swrast_create_screen, .winsys = { #ifdef HAVE_PIPE_LOADER_DRI |