From 840a1e22b9c3f512f6eb2d6a6a3afa4aabbd0f10 Mon Sep 17 00:00:00 2001 From: Carsten Rudolph <18394207+crud89@users.noreply.github.com> Date: Fri, 22 Dec 2023 09:49:14 +0100 Subject: [PATCH] Adjust indention. --- src/Samples/Textures/src/sample.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Samples/Textures/src/sample.cpp b/src/Samples/Textures/src/sample.cpp index aa8e3f7d2..3388ed652 100644 --- a/src/Samples/Textures/src/sample.cpp +++ b/src/Samples/Textures/src/sample.cpp @@ -61,9 +61,9 @@ void initRenderGraph(TRenderBackend* backend, SharedPtr& inputA .topology(PrimitiveTopology::TriangleList) .indexType(IndexType::UInt16) .vertexBuffer(sizeof(Vertex), 0) - .withAttribute(0, BufferFormat::XYZ32F, offsetof(Vertex, Position), AttributeSemantic::Position) - .withAttribute(1, BufferFormat::XYZW32F, offsetof(Vertex, Color), AttributeSemantic::Color) - .withAttribute(2, BufferFormat::XY32F, offsetof(Vertex, TextureCoordinate0), AttributeSemantic::TextureCoordinate, 0) + .withAttribute(0, BufferFormat::XYZ32F, offsetof(Vertex, Position), AttributeSemantic::Position) + .withAttribute(1, BufferFormat::XYZW32F, offsetof(Vertex, Color), AttributeSemantic::Color) + .withAttribute(2, BufferFormat::XY32F, offsetof(Vertex, TextureCoordinate0), AttributeSemantic::TextureCoordinate, 0) .add(); inputAssemblerState = std::static_pointer_cast(inputAssembler);