diff --git a/Source/Engine/Content/Assets/Shader.h b/Source/Engine/Content/Assets/Shader.h index 85e985d52..084a780c5 100644 --- a/Source/Engine/Content/Assets/Shader.h +++ b/Source/Engine/Content/Assets/Shader.h @@ -32,7 +32,7 @@ public: /// Gets the GPU shader object. /// [Deprecated in v1.10] /// - FORCE_INLINE DEPRECATED("Use GPU field directly.") GPUShader* GetShader() const + DEPRECATED("Use GPU field directly.") FORCE_INLINE GPUShader* GetShader() const { return GPU; } diff --git a/Source/Engine/Renderer/GBufferPass.h b/Source/Engine/Renderer/GBufferPass.h index 26f6ffdc9..b927b8c04 100644 --- a/Source/Engine/Renderer/GBufferPass.h +++ b/Source/Engine/Renderer/GBufferPass.h @@ -3,7 +3,7 @@ #pragma once #include "RendererPass.h" -#if USE_EDITOR +#if GPU_ENABLE_DEVELOPMENT #include "Engine/Core/Collections/Dictionary.h" #endif