As the function says - only the visual is changed.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
* Roughly the converse of dri_fill_in_modes.
*/
void
-dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,
+dri_fill_st_visual(struct st_visual *stvis,
+ const struct dri_screen *screen,
const struct gl_config *mode)
{
memset(stvis, 0, sizeof(*stvis));
}
void
-dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,
+dri_fill_st_visual(struct st_visual *stvis,
+ const struct dri_screen *screen,
const struct gl_config *mode);
void