From 5195f62ac5e6db7b48ca8c5c44f6e3261a52cf83 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sun, 20 Oct 2024 01:41:13 +0800 Subject: [PATCH] few change --- inc/hgl/graph/RenderFramework.h | 1 - inc/hgl/graph/VK.h | 4 +--- inc/hgl/graph/VKRenderResource.h | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/inc/hgl/graph/RenderFramework.h b/inc/hgl/graph/RenderFramework.h index a23dc449..d08d3350 100644 --- a/inc/hgl/graph/RenderFramework.h +++ b/inc/hgl/graph/RenderFramework.h @@ -47,7 +47,6 @@ enum class RenderingMode ENUM_CLASS_RANGE(Forward,Deferred) };//enum class RenderingMode - enum class RenderPhase { PreRender, ///<渲染前 diff --git a/inc/hgl/graph/VK.h b/inc/hgl/graph/VK.h index 469297a7..bba99d20 100644 --- a/inc/hgl/graph/VK.h +++ b/inc/hgl/graph/VK.h @@ -1,5 +1,4 @@ -#ifndef HGL_GRAPH_VULKAN_INCLUDE -#define HGL_GRAPH_VULKAN_INCLUDE +#pragma once #include #include @@ -175,4 +174,3 @@ inline void copy(VkExtent3D &e3d,const VkExtent2D &e2d,const uint32 depth=1) e3d.depth =depth; } VK_NAMESPACE_END -#endif//HGL_GRAPH_VULKAN_INCLUDE diff --git a/inc/hgl/graph/VKRenderResource.h b/inc/hgl/graph/VKRenderResource.h index 1c9b9b80..46e62d62 100644 --- a/inc/hgl/graph/VKRenderResource.h +++ b/inc/hgl/graph/VKRenderResource.h @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include