mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-13 05:50:04 -04:00
Include vulkan.hpp, instead of vulkan_enums.hpp in vulkan_to_string.hpp. (#2016)
This commit is contained in:
parent
3e09217b97
commit
a29adc0147
@ -692,7 +692,7 @@ void VulkanHppGenerator::generateToStringHppFile() const
|
|||||||
#ifndef VULKAN_TO_STRING_HPP
|
#ifndef VULKAN_TO_STRING_HPP
|
||||||
# define VULKAN_TO_STRING_HPP
|
# define VULKAN_TO_STRING_HPP
|
||||||
|
|
||||||
#include <vulkan/${api}_enums.hpp>
|
#include <vulkan/${api}.hpp>
|
||||||
|
|
||||||
// ignore warnings on using deprecated enum values in this header
|
// ignore warnings on using deprecated enum values in this header
|
||||||
#if defined( __clang__ ) || defined( __GNUC__ )
|
#if defined( __clang__ ) || defined( __GNUC__ )
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#ifndef VULKAN_TO_STRING_HPP
|
#ifndef VULKAN_TO_STRING_HPP
|
||||||
#define VULKAN_TO_STRING_HPP
|
#define VULKAN_TO_STRING_HPP
|
||||||
|
|
||||||
#include <vulkan/vulkan_enums.hpp>
|
#include <vulkan/vulkan.hpp>
|
||||||
|
|
||||||
// ignore warnings on using deprecated enum values in this header
|
// ignore warnings on using deprecated enum values in this header
|
||||||
#if defined( __clang__ ) || defined( __GNUC__ )
|
#if defined( __clang__ ) || defined( __GNUC__ )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user