mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01:00
render/vulkan: constify vulkan_format_props_find_modifier
This commit is contained in:
parent
88a4b9eefd
commit
566c413d8f
2 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ struct wlr_vk_format_props {
|
|||
void vulkan_format_props_query(struct wlr_vk_device *dev,
|
||||
const struct wlr_vk_format *format);
|
||||
const struct wlr_vk_format_modifier_props *vulkan_format_props_find_modifier(
|
||||
struct wlr_vk_format_props *props, uint64_t mod, bool render);
|
||||
const struct wlr_vk_format_props *props, uint64_t mod, bool render);
|
||||
void vulkan_format_props_finish(struct wlr_vk_format_props *props);
|
||||
|
||||
struct wlr_vk_pipeline_layout_key {
|
||||
|
|
|
@ -569,7 +569,7 @@ void vulkan_format_props_finish(struct wlr_vk_format_props *props) {
|
|||
}
|
||||
|
||||
const struct wlr_vk_format_modifier_props *vulkan_format_props_find_modifier(
|
||||
struct wlr_vk_format_props *props, uint64_t mod, bool render) {
|
||||
const struct wlr_vk_format_props *props, uint64_t mod, bool render) {
|
||||
uint32_t len;
|
||||
const struct wlr_vk_format_modifier_props *mods;
|
||||
if (render) {
|
||||
|
|
Loading…
Reference in a new issue