mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
render/vulkan: make vulkan_format_props_find_modifier() return value const
This commit is contained in:
parent
b4ad4671dc
commit
db9d277614
3 changed files with 3 additions and 3 deletions
|
|
@ -414,7 +414,7 @@ void vulkan_format_props_finish(struct wlr_vk_format_props *props) {
|
|||
free(props->render_mods);
|
||||
}
|
||||
|
||||
struct wlr_vk_format_modifier_props *vulkan_format_props_find_modifier(
|
||||
const struct wlr_vk_format_modifier_props *vulkan_format_props_find_modifier(
|
||||
struct wlr_vk_format_props *props, uint64_t mod, bool render) {
|
||||
if (render) {
|
||||
for (unsigned i = 0u; i < props->render_mod_count; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue