From f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 29 Oct 2024 14:49:26 +0800 Subject: format * format * Minor test fixes * enable checking cpp format in ci --- tools/platform/gui.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'tools/platform/gui.h') diff --git a/tools/platform/gui.h b/tools/platform/gui.h index e3975f3ff..82193cb86 100644 --- a/tools/platform/gui.h +++ b/tools/platform/gui.h @@ -1,14 +1,15 @@ // gui.h #pragma once +#include "external/imgui/imgui.h" +#include "slang-com-ptr.h" #include "slang-gfx.h" +#include "source/core/slang-basic.h" #include "vector-math.h" #include "window.h" -#include "slang-com-ptr.h" -#include "external/imgui/imgui.h" -#include "source/core/slang-basic.h" -namespace platform { +namespace platform +{ struct GUI : Slang::RefObject { @@ -25,8 +26,8 @@ private: Slang::ComPtr device; Slang::ComPtr queue; Slang::ComPtr renderPass; - Slang::ComPtr pipelineState; - Slang::ComPtr samplerState; + Slang::ComPtr pipelineState; + Slang::ComPtr samplerState; }; -} // gfx +} // namespace platform -- cgit v1.2.3