Add missing include guard to vulkan_video.hpp (#1723)

This commit is contained in:
Andreas Süßenbach 2023-11-09 11:29:46 +01:00 committed by GitHub
parent 2e5e845bb9
commit 1620b8b0bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,10 @@ void VideoHppGenerator::generateHppFile() const
std::cout << "VideoHppGenerator: Generating " << video_hpp << " ... " << std::endl;
std::string const videoHppTemplate = R"(${copyrightMessage}
#ifndef VULKAN_VIDEO_HPP
#define VULKAN_VIDEO_HPP
#include <vk_video/vulkan_video_codecs_common.h>
#include <vk_video/vulkan_video_codec_h264std.h>
#include <vk_video/vulkan_video_codec_h264std_decode.h>

View File

@ -4,6 +4,9 @@
// This header is generated from the Khronos Vulkan XML API Registry.
#ifndef VULKAN_VIDEO_HPP
#define VULKAN_VIDEO_HPP
#include <vk_video/vulkan_video_codec_h264std.h>
#include <vk_video/vulkan_video_codec_h264std_decode.h>
#include <vk_video/vulkan_video_codec_h264std_encode.h>