Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 0e9531b

Browse files
committed
Fix shaders
1 parent bf36e60 commit 0e9531b

File tree

7 files changed

+2
-12
lines changed

7 files changed

+2
-12
lines changed

App/Src/Main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ namespace
4545
Tkge::Engine engine{surface};
4646

4747
auto shader = Tkge::Graphics::Shader{};
48-
const auto vertexSpirV = LoadSpirV((assets_path / "shaders/triangle.vert").string().c_str());
49-
const auto fragmentSpirV = LoadSpirV((assets_path / "shaders/triangle.frag").string().c_str());
48+
const auto vertexSpirV = LoadSpirV((assets_path / "Shaders/Default.vert").string().c_str());
49+
const auto fragmentSpirV = LoadSpirV((assets_path / "Shaders/Default.frag").string().c_str());
5050
const auto& renderDevice = engine.RenderDevice();
5151
if (!shader.Load(renderDevice.get_device(), vertexSpirV, fragmentSpirV)) { throw std::runtime_error{"Failed to load shaders"}; }
5252

File renamed without changes.
File renamed without changes.

Assets/shaders/triangle.frag

-452 Bytes
Binary file not shown.
File renamed without changes.
File renamed without changes.

Lib/Src/Glsl/triangle.frag

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)