Skip to content

Commit

Permalink
Adjust indention.
Browse files Browse the repository at this point in the history
  • Loading branch information
crud89 committed Dec 22, 2023
1 parent b41641a commit 840a1e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Samples/Textures/src/sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ void initRenderGraph(TRenderBackend* backend, SharedPtr<IInputAssembler>& 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<IInputAssembler>(inputAssembler);
Expand Down

0 comments on commit 840a1e2

Please sign in to comment.