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