diff options
author | Brian Paul <[email protected]> | 2016-09-20 17:01:20 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-09-23 19:54:42 -0600 |
commit | 2ad4ba07279236dcdbafb6e4b2a0c183c69c92f4 (patch) | |
tree | 592b10ed35d7663a9ea8ae881645df6e03d1fb07 | |
parent | 4d0469652484e8300458ae9a7ab46389d9ae04a4 (diff) |
svga: add const qualifier on svga_translate_format()
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/gallium/drivers/svga/svga_format.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_format.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_format.c b/src/gallium/drivers/svga/svga_format.c index 1b3cebe5bc9..e3b146effb7 100644 --- a/src/gallium/drivers/svga/svga_format.c +++ b/src/gallium/drivers/svga/svga_format.c @@ -379,7 +379,7 @@ svga_translate_vertex_format_vgpu10(enum pipe_format format, * Translate from gallium format to SVGA3D format. */ SVGA3dSurfaceFormat -svga_translate_format(struct svga_screen *ss, +svga_translate_format(const struct svga_screen *ss, enum pipe_format format, unsigned bind) { diff --git a/src/gallium/drivers/svga/svga_format.h b/src/gallium/drivers/svga/svga_format.h index e6258179745..70807c5245a 100644 --- a/src/gallium/drivers/svga/svga_format.h +++ b/src/gallium/drivers/svga/svga_format.h @@ -63,7 +63,7 @@ svga_translate_vertex_format_vgpu10(enum pipe_format format, unsigned *vf_flags); enum SVGA3dSurfaceFormat -svga_translate_format(struct svga_screen *ss, +svga_translate_format(const struct svga_screen *ss, enum pipe_format format, unsigned bind); |