mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
radv: consistently use ifndef guards over pragma once
Namely: annotate the single file which is not using a ifndef guard - vk_format.h Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Vedran Miletić <vedran@miletic.net> Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
parent
95ab07c586
commit
b9d035e75b
1 changed files with 4 additions and 1 deletions
|
|
@ -24,7 +24,8 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef VK_FORMAT_H
|
||||
#define VK_FORMAT_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <vulkan/vulkan.h>
|
||||
|
|
@ -443,3 +444,5 @@ vk_format_get_component_bits(VkFormat format,
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* VK_FORMAT_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue