<div dir="ltr"><div>Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><br><br></div>Marek<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 24, 2018 at 1:48 PM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
<br>
As the function says - only the visual is changed.<br>
<br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
---<br>
src/gallium/state_trackers/<wbr>dri/dri_screen.c | 3 ++-<br>
src/gallium/state_trackers/<wbr>dri/dri_screen.h | 3 ++-<br>
2 files changed, 4 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/gallium/state_trackers/<wbr>dri/dri_screen.c b/src/gallium/state_trackers/<wbr>dri/dri_screen.c<br>
index aaee987077..374efbdf61 100644<br>
--- a/src/gallium/state_trackers/<wbr>dri/dri_screen.c<br>
+++ b/src/gallium/state_trackers/<wbr>dri/dri_screen.c<br>
@@ -298,7 +298,8 @@ dri_fill_in_modes(struct dri_screen *screen)<br>
* Roughly the converse of dri_fill_in_modes.<br>
*/<br>
void<br>
-dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,<br>
+dri_fill_st_visual(struct st_visual *stvis,<br>
+ const struct dri_screen *screen,<br>
const struct gl_config *mode)<br>
{<br>
memset(stvis, 0, sizeof(*stvis));<br>
diff --git a/src/gallium/state_trackers/<wbr>dri/dri_screen.h b/src/gallium/state_trackers/<wbr>dri/dri_screen.h<br>
index 677e945e03..e410aa9c2f 100644<br>
--- a/src/gallium/state_trackers/<wbr>dri/dri_screen.h<br>
+++ b/src/gallium/state_trackers/<wbr>dri/dri_screen.h<br>
@@ -127,7 +127,8 @@ dri_with_format(__DRIscreen * sPriv)<br>
}<br>
<br>
void<br>
-dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,<br>
+dri_fill_st_visual(struct st_visual *stvis,<br>
+ const struct dri_screen *screen,<br>
const struct gl_config *mode);<br>
<br>
void<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.16.0<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>